Skip to main content

AccountRolesRequest

object_idstring

@deprecated use ObjectIDs instead. The ID of the object to check roles for

Example: 01J4EXD5MM60CX4YNYN0DEE3Y1
object_idsstring[]

The IDs of the object to check roles for, can be used to check multiple ids in one request

object_typestring

The type of object to check roles for, e.g. organization, program, procedure, etc

Example: organization
relationsstring[]

The relations to check roles for, e.g. can_view, can_edit

subject_typestring

The type of subject to check roles for, e.g. service, user

Example: user
AccountRolesRequest
{
"object_id": "01J4EXD5MM60CX4YNYN0DEE3Y1",
"object_ids": [
"string"
],
"object_type": "organization",
"relations": [
"string"
],
"subject_type": "user"
}