Last updated 2 months ago
OK
const response = await fetch('https://api.apono.io/api/v1/access-bundles', { method: 'GET', headers: {}, }); const data = await response.json();
{ "data": [ { "id": "text", "name": "text", "integration_targets": [ { "integration_id": "text", "resource_type": "text", "resource_tag_includes": [ { "name": "text", "value": "text" } ], "resource_tag_excludes": [ { "name": "text", "value": "text" } ], "permissions": [ "text" ] } ] } ], "pagination": { "total": 0, "limit": 0, "offset": 0 } }
const response = await fetch('https://api.apono.io/api/v1/access-bundles/{id}', { method: 'DELETE', headers: {}, }); const data = await response.json();
{ "message": "text" }
const response = await fetch('https://api.apono.io/api/v1/access-bundles/{id}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "id": "text", "name": "text", "integration_targets": [ { "integration_id": "text", "resource_type": "text", "resource_tag_includes": [ { "name": "text", "value": "text" } ], "resource_tag_excludes": [ { "name": "text", "value": "text" } ], "permissions": [ "text" ] } ] }
const response = await fetch('https://api.apono.io/api/v1/access-bundles', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "name": "text", "integration_targets": [ { "integration_id": "text", "resource_type": "text", "resource_tag_includes": [ { "name": "text", "value": "text" } ], "resource_tag_excludes": [ { "name": "text", "value": "text" } ], "permissions": [ "text" ] } ] }), }); const data = await response.json();
const response = await fetch('https://api.apono.io/api/v1/access-bundles/{id}', { method: 'PATCH', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();