Skip to content

Resume a suspended Agent Grant without restoring prior consent.

POST
/api/admin/agent-grants/{id}/resume
Code sample: Shell / cURL
curl --request POST \
--url https://auth.example.com/api/admin/agent-grants/example/resume \
--header 'Authorization: Bearer <token>'

Revalidates the current updater, original grantor, delegator, OAuth client, and optional Machine Principal. This human operation recertifies the Grant with a new 30-day deadline. The Grant becomes active, while both consent records remain revoked and the delegator must consent again before token issuance.

id
required
string
/^aag_/

Agent Grant identifier.

Grant resumed and awaiting consent.

Media type application/json
object
grant_id
required
string
status
required
string
Allowed values: active
generation
required
integer
>= 1
consent_version
required
integer
>= 1
consent_required
required
boolean
expires_at
required
integer format: int64
key
additional properties
Example
{
"status": "active",
"consent_required": true
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}