Skip to main content
PATCH
Roles with what they grant and who holds them.

Headers

Prefer
enum<string>

Preference

Available options:
return=representation,
return=minimal,
return=none

Query Parameters

id
string
code
string
name
string
description
string
is_system
string
is_external
string
own_assets_only
string
work_order_reach
string
work_order_edit_reach
string
is_active
string
permissions
string
users
string
permission_codes
string
row_version
string

Body

role_settings

Roles with what they grant and who holds them.

is_system marks the two roles the product maintains rather than the tenant: the administrator, which holds every permission and reaches every site, and the read-only role the product's support team signs in with. Every other role is the tenant's own to rename, change or delete.

is_external marks the ones that make their holder somebody another company employs — the second half of what identity.is_external() reads, and the reason granting one is not the same kind of act as granting any of the others.

code
string<character varying>
Maximum string length: 60
description
string<text>
id
string<uuid>

Note: This is a Primary Key.

is_active
boolean<boolean>
is_external
boolean<boolean>
is_system
boolean<boolean>
name
string<character varying>
Maximum string length: 150
own_assets_only
boolean<boolean>
permission_codes
string<jsonb>
permissions
integer<bigint>
row_version
integer<bigint>
users
integer<bigint>
work_order_edit_reach
string<character varying>
Maximum string length: 10
work_order_reach
string<character varying>
Maximum string length: 10

Response

204

No Content