Check which services and actions a specific contact person is authorized for. It returns a unique ID ('requestId') that can be used in subsequent API calls to retrieve detailed information.
contactId integer · min: 1 required Example Unique contact identifier
Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/contacts/{contactId}/permissions curl -X GET "https://cloud.hostup.se/api/contacts/8722/permissions" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"success": true,
"timestamp": "string",
"requestId": "string",
"data": {
"services": [
{
"id": "string",
"name": "string",
"type": "string",
"category": "string",
"hasAccess": true
}
],
"domains": [
"string"
],
"dnsZones": [
"string"
],
"canViewInvoices": true,
"canReceiveInvoices": true,
"canOpenTickets": true,
"canViewTickets": true,
"canReceiveTicketEmails": true,
"canCloseTickets": true,
"accessAllVps": true,
"accessAllHosting": true,
"canPlaceOrders": true,
"accessAllDomains": true
}
}