WorkOS
authorization.organization_memberships.resources.list
Returns all child resources of a parent resource where the organization membership has a specific permission. This is useful for resource discovery—answering "What projects can this user access in this workspace?" You must provide either `parent_resource_id` or both `parent_resource_external_id` and `parent_resource_type_slug` to identify the parent resource.
Remote workos
Other tools also called authorization.organization_memberships.resources.list?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"after": {
"type": "string",
"description": "An object ID that defines your place in the list. When the ID is not present, you are at the end of the list. For example, if you make a list request and receive 100 objects, ending with `\"obj_123\"`, your subsequent call can include `after=\"obj_123\"` to fetch a new batch of objects after `\"obj_123\"`."
},
"limit": {
"type": "integer",
"default": 10,
"description": "Upper limit on the number of objects to return, between `1` and `100`."
},
"order": {
"enum": [
"normal",
"desc",
"asc"
],
"type": "string",
"default": "desc",
"description": "Order the results by the creation time. Supported values are `\"asc\"` (ascending), `\"desc\"` (descending), and `\"normal\"` (descending with reversed cursor semantics where `before` fetches older records and `after` fetches newer records). Defaults to descending."
},
"before": {
"type": "string",
"description": "An object ID that defines your place in the list. When the ID is not present, you are at the end of the list. For example, if you make a list request and receive 100 objects, ending with `\"obj_123\"`, your subsequent call can include `before=\"obj_123\"` to fetch a new batch of objects before `\"obj_123\"`."
},
"permission_slug": {
"type": "string",
"description": "The permission slug to filter by. Only child resources where the organization membership has this permission are returned."
},
"parent_resource_id": {
"type": "string",
"description": "The WorkOS ID of the parent resource. Provide this or both `parent_resource_external_id` and `parent_resource_type_slug`, but not both."
},
"parent_resource_type_slug": {
"type": "string",
"description": "The slug of the parent resource type. Must be provided together with `parent_resource_external_id`."
},
"organization_membership_id": {
"type": "string",
"description": "The ID of the organization membership."
},
"parent_resource_external_id": {
"type": "string",
"description": "The application-specific external identifier of the parent resource. Must be provided together with `parent_resource_type_slug`."
}
}
}