Last updated 3 months ago
Was this helpful?
/api/v1/access-bundles
curl -L \ --url 'https://api.apono.io/api/v1/access-bundles' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "pagination": { "total": 1, "limit": 1, "offset": 1 }, "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" ] } ] } ] }
curl -L \ --request POST \ --url 'https://api.apono.io/api/v1/access-bundles' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{"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":[null]}]}'
{ "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" ] } ] }
/api/v1/access-bundles/{id}
curl -L \ --url 'https://api.apono.io/api/v1/access-bundles/{id}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
curl -L \ --request DELETE \ --url 'https://api.apono.io/api/v1/access-bundles/{id}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "message": "text" }
curl -L \ --request PATCH \ --url 'https://api.apono.io/api/v1/access-bundles/{id}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{"integration_targets":[{"integration_id":"text","resource_type":"text","resource_tag_includes":[{"name":"text","value":"text"}],"resource_tag_excludes":[{"name":"text","value":"text"}],"permissions":[null]}]}'