Returns a profile's map-view settings: whether map views are enabled, its monthly map-view threshold, and whether it has a Mapbox token. The token itself is never returned.
allocated is the sum of every profile's threshold on the server, enabled or not; unallocated is server_mapview_limit minus allocated, or null when the server has no cap (a negative server_mapview_limit).
Authorization
Internal API clients only, and SERVER users only, whatever the server's ZWS mode.
GET
/mapbox/profiles/{profile_id}
curl \
--request GET 'https://api.iformbuilder.com/exzact/api/v81/[servername]/mapbox/profiles/123456' \
--header "Authorization: Bearer {access_token}"
Response examples (200)
{
"profile_id": 123456,
"enabled": true,
"threshold": 500,
"has_token": true,
"server_mapview_limit": 2000,
"allocated": 1500,
"unallocated": 500
}