admin

Update an endpoint permission (admin)

Updates action, resource_extractor, is_active, and description (req 2). Returns 400 when resource_extractor is not a valid strategy string. Supply expected_updated_at to enable optimistic concurrency checking; a 409 is returned when the row has been modified since last fetched.

put/admin/endpoint-permissions/{permission_id}

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/endpoint-permissions/{permission_id}
  • Auth: one of:
    • HTTP bearer
    • OpenID Connect (https://account.qualityclouds.com//realms/ai-production/.well-known/openid-configuration)

Path parameters

permission_idstring uuid required

Request body

actionstring nullable

Action required to call this endpoint (e.g. 'repo:view'). Set to null to make the endpoint public.

resource_extractorstring nullable

Strategy for extracting resource_id from the request (e.g. 'path:repository_id', 'jwt_org', 'none').

is_activeboolean required

Whether this endpoint is actively enforced by the authorization middleware.

descriptionstring nullable

Human-readable description of the endpoint.

expected_updated_atstring date-time nullable

Optimistic concurrency token. Supply the updated_at value received from the last GET. Omit to skip the concurrency check.

Response

Successful Response

idstring uuid required
http_methodstring required
path_patternstring required
actionstring nullable required
resource_typestring nullable required
resource_extractorstring nullable required
descriptionstring nullable required
is_activeboolean required
updated_atstring date-time required

Changes

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