Access Sessions
100OK
GET /api/user/v1/access-sessions HTTP/1.1
Host: api.apono.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"items": [
{
"id": "text",
"name": "text",
"request_ids": [
"text"
],
"integration": {
"id": "text",
"name": "text"
},
"credentials_status": "text",
"can_reset_credentials": true
}
],
"pagination": {
"next_page_token": "text"
}
}OK
Unique identifier of the access session
A human-readable name for the session, often based on the resource or purpose
List of request id's related to the access session
Credential status during the session. Possible values: AVAILABLE, VIEWED, RESETTING, NOT_APPLICABLE. If the access session does not rely on credentials (for example, a cloud provider session), the status will be NOT_APPLICABLE, but access details will still be available
Indicates whether credentials used in this session can be reset. Applies only to sessions where credentials are applicable
GET /api/user/v1/access-sessions/{id} HTTP/1.1
Host: api.apono.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"id": "text",
"name": "text",
"request_ids": [
"text"
],
"integration": {
"id": "text",
"name": "text"
},
"credentials_status": "text",
"can_reset_credentials": true
}OK
User-facing text with step-by-step instructions for accessing the resource
An optional message provided by an admin. Often used for additional context, warnings, or escalation paths
A command-line string the user can copy and execute to initiate access
GET /api/user/v1/access-sessions/{id}/access-details HTTP/1.1
Host: api.apono.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"instructions": "text",
"custom_admin_message": "text",
"parameters": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"cli": "text",
"link": {
"url": "text",
"title": "text"
}
}OK
POST /api/user/v1/access-sessions/{id}/reset-credentials HTTP/1.1
Host: api.apono.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
{
"message": "text"
}Last updated
Was this helpful?
