admin

Add a role-action grant (admin)

Inserts a new role-action grant (req 5). Returns 409 when the (role_name, action) pair already exists.

post/admin/role-permissions

Request

  • Base URL: https://api.qualityclouds.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.qualityclouds.ai/admin/role-permissions
  • Auth: one of:
    • HTTP bearer
    • OpenID Connect (https://account.qualityclouds.com//realms/ai-production/.well-known/openid-configuration)

Request body

role_namestring required

Canonical role name (e.g. 'org_admin').

actionstring required

Action string to grant (e.g. 'repo:view').

descriptionstring nullable

Human-readable description of the grant.

Response

Successful Response

idstring uuid required
role_namestring required
actionstring required
descriptionstring nullable required
is_activeboolean required
created_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.