OrgsMxEdges

assignOrgMxEdgeToSite

POST
/api/v1/orgs/{org_id}/mxedges/assign

Assign one or more Mist Edge appliances from the organization to a site by Mist Edge ID and site ID.

Authorization

Authorization<token>

Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.

Format: Authorization: Token {apitoken}

Notes:

  • An API token generated for a specific admin has the same privileges as that admin
  • An API token is automatically removed if it is not used for more than 90 days
  • SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.

In: header

Path Parameters

org_id*string
Formatuuid

Request Body

application/json

Request Body

Request to assign Mist Edges to a site

mxedge_ids*array<>

Mist Edge identifiers to assign to the site

site_id*string

Identifier of the site that receives the Mist Edges

Formatuuid

Response Body

curl -X POST "https://example.com/api/v1/orgs/000000ab-00ab-00ab-00ab-0000000000ab/mxedges/assign" \  -H "Content-Type: application/json" \  -d '{    "mxedge_ids": [      "387804a7-3474-85ce-15a2-f9a9684c9c90"    ],    "site_id": "4ac1dcf4-9d8b-7211-65c4-057819f0862b"  }'
{  "success": [    "5c5b350e0001"  ]}