Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Binding

Role binding input model

role_id
integer
scope_id
string
scope_type
string

ScopeType is empty for a global binding (every Workspace) or "workspace"; ScopeID is then the Workspace id in canonical decimal form ("7"). Managing scoped bindings needs roles:write globally (D10).

subject_id
integer
subject_type
string

Response

201 - application/json

Created

{key}
object

Role binding response model