searchRoles
Search Roles
Request body
Example request
{
"role_ids": [
"123:manager",
"456:owner"
],
"org_ids": [
"123",
"456"
],
"slugs": [
"manager",
"owner"
],
"query": "Administrator",
"limit": 1,
"offset": 1
}Response
ok
Example response
{
"results": [
{
"id": "123:owner",
"name": "Owner",
"slug": "owner",
"expires_at": "2028-07-21T17:32:28Z",
"organization_id": "123",
"grants": [
{
"action": "entity-read",
"resource": "entity:123:contact:f7c22299-ca72-4bca-8538-0a88eeefc947",
"conditions": [
{
"attribute": "workflows.primary.task_name",
"values": [
"Qualification"
]
}
]
}
],
"parent_role": "123:owner"
}
]
}Changes
Changed in 1 of the 2 revisions of this API.10
- ○
added the optional property
results/items/oneOf[OrgRole]/allOf[BaseRole]/grants/items/conditions/items/allOf[subschema #2]/anyOf[EqualsCurrentUserCondition]/attributesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/oneOf[PartnerRole]/allOf[BaseRole]/grants/items/conditions/items/allOf[subschema #2]/anyOf[EqualsCurrentUserCondition]/attributesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/oneOf[PortalRole]/allOf[BaseRole]/grants/items/conditions/items/allOf[subschema #2]/anyOf[EqualsCurrentUserCondition]/attributesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/oneOf[ShareRole]/allOf[BaseRole]/grants/items/conditions/items/allOf[subschema #2]/anyOf[EqualsCurrentUserCondition]/attributesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
results/items/oneOf[UserRole]/allOf[BaseRole]/grants/items/conditions/items/allOf[subschema #2]/anyOf[EqualsCurrentUserCondition]/attributesto the response with the200statusresponse-optional-property-added
- ○
added
NotEqualsConditionNotEqualsCurrentUserConditionto theresults/items/oneOf[OrgRole]/allOf[BaseRole]/grants/items/conditions/items/allOf[subschema #2]/response propertyanyOflist for the response status200response-property-any-of-added
- ○
added
NotEqualsConditionNotEqualsCurrentUserConditionto theresults/items/oneOf[PartnerRole]/allOf[BaseRole]/grants/items/conditions/items/allOf[subschema #2]/response propertyanyOflist for the response status200response-property-any-of-added
- ○
added
NotEqualsConditionNotEqualsCurrentUserConditionto theresults/items/oneOf[PortalRole]/allOf[BaseRole]/grants/items/conditions/items/allOf[subschema #2]/response propertyanyOflist for the response status200response-property-any-of-added
- ○
added
NotEqualsConditionNotEqualsCurrentUserConditionto theresults/items/oneOf[ShareRole]/allOf[BaseRole]/grants/items/conditions/items/allOf[subschema #2]/response propertyanyOflist for the response status200response-property-any-of-added
- ○
added
NotEqualsConditionNotEqualsCurrentUserConditionto theresults/items/oneOf[UserRole]/allOf[BaseRole]/grants/items/conditions/items/allOf[subschema #2]/response propertyanyOflist for the response status200response-property-any-of-added
- ○