Skip to content
PaloNexus
Request access Request

Grant Delegation

POST
/v1/authority/delegations
curl --request POST \
--url https://example.com/v1/authority/delegations \
--header 'Content-Type: application/json' \
--data '{ "tenantId": "example", "agentId": "example", "approverRef": "example", "grantedBy": "example", "requesterRef": "example", "breakGlass": false, "action": "example", "resource": "example", "taskId": "example", "taskDescription": "example", "resourceType": "example", "requiredGroup": "example", "expiresInSeconds": 1 }'
Media type application/json
GrantDelegationRequest
object
tenantId
required
Tenantid
string
agentId
required
Agentid
string
approverRef
Any of:
string
grantedBy
Any of:
string
requesterRef
Any of:
string
breakGlass
Breakglass
boolean
action
required
Action
string
resource
required
Resource
string
taskId
Any of:
string
taskDescription
Any of:
string
resourceType
Any of:
string
requiredGroup
Any of:
string
expiresInSeconds
Any of:
integer

Successful Response

Media type application/json
Example generated
example

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}