Region Managers Endpoint
Region Managers Endpoint

Region Managers Endpoint

Use the Region.Manager endpoint to add, remove, and retrieve a list of region and site managers.
The Region.Managers endpoint includes the following methods:
Method
Description
POST /api/v1/region/managers/{regionName}
Add a manager to a region or site. The manager must be a valid PTT Pro user.
GET POST /api/v1/region/managers/{regionName}
Returns all managers for the specified region. This method does not return managers for child regions.
GET /api/v1/region/managers/{regionName}/{managerName}
Returns the region manager specified by the region and manager name. This method does not return managers for child regions.
DELETE /api/v1/region/managers/{regionName}/{managerName}
Removes the region manager from the specified region.
Region Managers Example
This example adds a manager named Ernest Shackleton to the East region.
curl -X 'POST' \ 'https://<ZEMS_URL>/api/v1/region/managers/East?user=Ernest.Shackleton' \ -H 'accept: application/json' \ -H 'ApiKey: <ZEMS_API_KEY>' \ -H 'authorization: Bearer <TOKEN>' \ -d ''