Lists the profiles on this server that have a Mapbox token, in ascending profile_id order. Use it to pick a profile for GET /mapbox/mapviews. Tokens belonging to other servers on the same Mapbox account are left out, and token ids are never returned.
Authorization
Internal API clients only, and SERVER users only, whatever the server's ZWS mode.
Responses
-
OK
-
Unauthorized - missing or invalid bearer token.
-
Forbidden - the client is not internal, or the user is not a SERVER user.
-
Conflict - Mapbox is not enabled on this server.
-
Bad Gateway - Mapbox could not be reached, answered with an error (its HTTP status is in
error_message), or returned an unexpected response. -
Service Unavailable - the Mapbox user or key is not configured on this server.
GET
/mapbox/mapviews/profiles
curl \
--request GET 'https://api.iformbuilder.com/exzact/api/v81/[servername]/mapbox/mapviews/profiles' \
--header "Authorization: Bearer {access_token}"
Response examples (200)
[
{
"profile_id": 123456
},
{
"profile_id": 234567
}
]