Replace the set of users assigned to a license. Users not included in the request are unassigned.
API key authentication. Create API keys in the Supermetrics Hub and send
them in the Authorization header:
Authorization: Bearer <your-api-key>
The ID of the team
The ID of the license
User IDs to assign to the license
{
"user_ids": [
12345,
67890
]
}List of user IDs to assign to the license
Users assigned to license successfully
Response envelope containing assignment result
Response metadata
Unique ID of the request
Result of a user assignment operation
Whether the assignment was successful
Bad request — invalid or missing parameters
Bad request error
BAD_REQUEST
Unauthorized — token is missing or invalid
Unauthorized access
UNAUTHORIZED
Forbidden — insufficient permissions
Permission error
PERMISSION_ERROR
License not found
Not found
NOT_FOUND
Too many requests - rate limit exceeded.
Too many requests
TOO_MANY_REQUESTS
Internal server error
Internal server error
INTERNAL_SERVER_ERROR