post https://www.keycafe.com/v0/permission
Create a permission with a POST request to the endpoint.
To grant a permission, the user must first be added as a member of the organization. To add a SmartBox user to your organization, refer to the Organization Membership API. For more information on user types, please refer to our Help Center.
The post body should contain the necessary data to create the permission as a JSON object:
{
"user": {
"id": 123456
},
"key": {
"id": 654321
},
"role": "ADMINISTRATOR"
}
Note: Specify only one of group ID, key ID, or location ID in the request body, depending on the resource (group, key, or location) for which you are creating the permission.
Returns a permission object if the call succeeded.