Skip to main content

Get the permission on an object

GET 

/permissions/:object_type/:object_id

Returns the permission of the calling API key on one object, as the sum of the permission bits: read 4, write 2 and execute 1. The value combines the key's permission on the object type with the key's permission on the object.

Permissions. None. The operation reports the permissions of the calling key, and any valid API key can call the operation.

Access control describes the permission model.

Request​

Responses​

The body is the calling key's permission on the object, a number from 0 to 7. The operation does not check that the object exists.