resource_type query parameter when calling List Resource Users.
This endpoint is distinct from
GET /unified/list_resource_types in the Permissions Check section. That endpoint returns types supported for permission checks; this one returns types for IAM resource-scoped queries. The valid values may overlap but serve different purposes.Authentication
RequiresAuthorization: Basic {base64_encoded_api_key} and x-account-id: {account_id}. See authentication.
Response
Returns a JSON object with adata: string[] field containing resource type identifiers. The exact values vary by provider. Common examples include file, folder, channel, workspace, organization, and department.
Example
- cURL
- TypeScript
- Python
Example Response
Errors
| Status | Meaning |
|---|---|
| 401 | Unauthorized — invalid or missing API key |
| 422 | Provider does not support this endpoint |