Skip to main content
POST
Say which roles may read a field and which may write it.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Say which roles may read a field and which may write it.

A field readable by everyone and writable by one role is how a rate or an assessment stays visible without being editable.

p_definition_id
string<uuid>
required
p_granted
boolean<boolean>
required
p_permission
string<text>
required
p_role_id
string<uuid>
required

Response

200

OK