General Information
- The permission
Administrator
can not be granted at this time, it is only available to theOwner
of theOrganization
.
What is the difference between Organization and Property Permissions?
-
Organization
permissions govern tasks that affect other users, as well as potentially other properties and the organization itself. -
Property
permissions allow you to giveUsers
isolated access to specificProperties
instead of granting themOrganizations
permissions. -
To ensure
Organization
permissions are not given instead ofProperty
permissions. AllProperty
permissions are prefixed with:P_
, while allOrganization
permissions are not. -
A complete list of all Permissions is available here.
Request Body
{
"permissions"?: {
"select":{
"resources": "property" | "organization"
"property_id"?: PropertyID
}
"items": PermissionPropertyFlags[] | PermissionOrganizationFlags[],
"operation": "add" | "remove" | "empty",
}
}
permissions.select.resources
:
Used to select where to apply the permissions.
permissions.select.property_id
:
If the resources selected is property
, this field must have a value of the target PropertyID
.
permissions.items
:
The permissions to operate upon. The API will alert you when any property in this list is incompatible with the resource you wish to apply the permissions to.
permissions.operation
:
The operator to use for the permissions in permissions.items
. The operator empty
can only be used by the owner of the Organization
.
Example Payload
{
"permissions": {
"select":{
"resources": "property",
"property_id": "D#12356789"
},
"items": ["P_VIEW_PROPERTY","P_VIEW_ANALYTICS"],
"operation": "add"
}
}