Last updated 2 months ago
OK
const response = await fetch('https://api.apono.io/api/v3/access-requests/{id}/access-details', { method: 'GET', headers: {}, }); const data = await response.json();
{ "details": "text" }
const response = await fetch('https://api.apono.io/api/v3/access-requests/{id}/reset', { method: 'POST', headers: {}, }); const data = await response.json();
{ "message": "text" }
const response = await fetch('https://api.apono.io/api/v3/access-requests-bulk/revoke', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "request_ids": [ "text" ] }), }); const data = await response.json();
const response = await fetch('https://api.apono.io/api/v3/selectable-integrations/{integration_id}/{resource_type}/permissions', { method: 'GET', headers: {}, }); const data = await response.json();
{ "data": [ "text" ], "pagination": { "total": 0, "limit": 0, "offset": 0 }, "allow_multiple": false }
const response = await fetch('https://api.apono.io/api/v3/access-requests/{id}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "request_id": "text", "friendly_request_id": "text", "user_id": "text", "status": "PENDING", "integration_id": "text", "resource_ids": [ "text" ], "permissions": [ "text" ], "justification": "text" }
const response = await fetch('https://api.apono.io/api/v3/selectable-integrations', { method: 'GET', headers: {}, }); const data = await response.json();
{ "data": [ { "id": "text" } ], "pagination": { "total": 0, "limit": 0, "offset": 0 } }
const response = await fetch('https://api.apono.io/api/v3/access-requests', { method: 'GET', headers: {}, }); const data = await response.json();
{ "data": [ { "request_id": "text", "friendly_request_id": "text", "user_id": "text", "status": "PENDING", "integration_id": "text", "resource_ids": [ "text" ], "permissions": [ "text" ], "justification": "text" } ], "pagination": { "total": 0, "limit": 0, "offset": 0 } }
const response = await fetch('https://api.apono.io/api/v3/selectable-integrations/{integration_id}/resource-types', { method: 'GET', headers: {}, }); const data = await response.json();
{ "data": [ { "id": "text", "name": "text" } ], "pagination": { "total": 0, "limit": 0, "offset": 0 } }
const response = await fetch('https://api.apono.io/api/v3/selectable-integrations/{integration_id}/{resource_type}/resources', { method: 'GET', headers: {}, }); const data = await response.json();
{ "data": [ { "id": "text", "type": "text", "name": "text" } ], "pagination": { "total": 0, "limit": 0, "offset": 0 } }
const response = await fetch('https://api.apono.io/api/v3/access-requests', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "user_id": "text", "integration_id": "text", "resource_ids": [ "text" ], "permissions": [ "text" ], "justification": "text" }), }); const data = await response.json();