Skip to content

Get obligations for a built-in role

GET
/v1/roles/built-in/{name}/obligations
curl --request GET \
--url https://api.varman.io/v1/roles/built-in/owner/obligations \
--header 'X-API-Key: <X-API-Key>'

Returns the effective obligations for a built-in role (owner, admin, auditor, employee, contractor) — DB override if present, else the hardcoded default.

name
required
string

Example

owner

Built-in role name

Effective obligations for the built-in role

Media typeapplication/json
object
name
string
obligations
object
compliance
boolean

Example generated

{
"name": "example",
"obligations": {
"compliance": true
}
}