v5
latestOpenAPI 3.1.02026-07-31151195455.5 KBGet resources
Returns a list of resources for your organization.
Query parameters
The pagination cursor value.
Number of results to return per page. Default is 200.
The type of the resource.
The resource type to filter by. Required when remote_id is provided.
The resource ids to filter by.
[ "1b978423-db0a-4037-a4cf-f79c60cb67b3" ]
Resource name.
The parent resource id to filter by.
The ancestor resource id to filter by. Returns all resources that are descendants of the specified resource.
Filter resources by their remote id. This will return all resources that have a remote id that matches the provided remote id. Note that this requires resource_type_filter to be provided.
The IDs of the tags to filter by. Returns only resources that have any of these tags applied.
Response
One page worth resources associated with your organization.
Example response
{
"next": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
"previous": "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ",
"results": [
{
"resource_id": "f454d283-ca67-4a8a-bdbb-df212eca5353",
"description": "This resource represents AWS IAM role \"SupportUser\".",
"admin_owner_id": "7c86c85d-0651-43e2-a748-d69d658418e8",
"remote_id": "arn:aws:iam::490306337630:role/SupportUser",
"remote_name": "SupportUser",
"max_duration": 120,
"require_manager_approval": false,
"require_support_ticket": false,
"parent_resource_id": "f454d283-ca67-4a8a-bdbb-df212eca5345"
},
{
"resource_id": "99d0b81d-14be-4cf6-bd27-348b4af1d11b",
"description": "This resource represents GCP project \"app-demo\".",
"remote_id": "app-demo-307223",
"remote_name": "app-demo",
"admin_owner_id": "7c86c85d-0651-43e2-a748-d69d658418e8",
"max_duration": 360,
"require_manager_approval": false,
"require_support_ticket": true
}
]
}