Set a service's RACI
Replaces the service's RACI as a whole; an empty list clears it. Each
entry is a role (responsible, accountable, consulted,
informed) and exactly one of team_id or user_id. At most 50
entries, none twice, and exactly one accountable when there are
any. The owner team stays the owner.
Requires the catalog:component:write scope.
Authorization
Parameters
Path parameters
refstring requiredThe service's ID (cmp_…) or its slug.
Request body required
responsibilitiesarray of Responsibility requiredShow Responsibility properties
rolestring requiredteam_idstring | nulluser_idstring | null
Responses
200
The RACI as stored.
dataarray of ResponsibilityShow Responsibility properties
rolestring requiredteam_idstring | nulluser_idstring | null
400
The request is not valid: a field or filter value is wrong
(VALIDATION_ERROR, with a sentence saying what), the body is not
the expected JSON or carries an unknown field (INVALID_BODY), the
cursor is not one this list gave (INVALID_CURSOR), a binding names
a service that does not exist (UNKNOWN_COMPONENT), or a PATCH
tries to change a slug (SLUG_IMMUTABLE).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
403
The key lacks a scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
404
Nothing with this ID (or slug) exists in the organization (NOT_FOUND).
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
429
Too many requests (RATE_LIMITED). Wait for Retry-After seconds.
Retry-AfterintegerSeconds to wait before retrying.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredmessagestring requiredrequest_idstring
Example request
curl -X PUT 'https://evohub.io/api/v1/catalog/components/payments-api/responsibilities' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"responsibilities": [
{
"role": "accountable",
"team_id": "team_3b6f0e2a-1c4d-4e8f-9a7b-2d5c6e8f0a1b"
},
{
"role": "consulted",
"user_id": "usr_9f2d4c6b-8a1e-4f3d-b5c7-0e2a4c6e8b1d"
}
]
}'
