Skip to content

/organisations/{orgId}/roles (POST)

POST
/organisations/{orgId}/roles
curl --request POST \
--url https://kravos-orchestrator.onrender.com/organisations/example/roles \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "overallThreshold": 1, "dimensions": [ { "name": "example", "weight": 1, "category": "process", "threshold": 1 } ], "ticketIds": [ "example" ] }'
orgId
required
string
Media typeapplication/json
object
name
required
string
/\S/
overallThreshold
required
integer
<= 100
dimensions
required
Array<object>
>= 1 items
object
name
required
string
/\S/
weight
required
integer
<= 100
category
required
string
Allowed values: process correctness
threshold
integer
<= 100
ticketIds
Array<string>

Default Response