Change the scopes of the current Admin's interactive system-managed connection.
curl --request PUT \ --url https://auth.example.com/api/admin/agent-grants/example/self-service-scopes \ --header 'Content-Type: application/json' \ --cookie authrim_admin_session=<authrim_admin_session> \ --data '{ "scopes": [ "agent:read" ] }'Human session only. The authenticated Admin must be both grantor and delegator. The server rechecks the public client’s registered scopes and the Admin’s live RBAC ceiling, generates a new immutable Task Set and masked single-tenant Scope Policy, replaces both consent records, increments Grant generation and consent version, and queues prior token families for revocation in one DB_ADMIN transaction.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Agent Grant identifier.
Request Body required
Section titled “Request Body required ”object
Responses
Section titled “ Responses ”Current connection and whether its immutable authorization snapshot changed.
object
object
object
object
System_managed identifies the immutable internal Grant generated by interactive self-service authorization; its Task Set and Scope Policy are not edited directly.
object
Present on detail responses after both authorization records are checked.
Example
{ "grant": { "scopes": [ "agent:read" ], "management_mode": "managed", "status": "active", "delegation_mode": "user_consent" }}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
object
Example generated
{ "error": "example", "message": "example", "error_description": "example"}