list_scim_workspace_mappings
Lists SCIM group mappings that grant Portkey workspace roles so you can audit provisioned access or find a mapping ID before deleting it; filter by workspace, group, or role.
Instructions
List identity-provider SCIM group mappings that automatically grant Portkey workspace roles. Use it to audit provisioned access or obtain mapping_id before delete_scim_workspace_mapping; filter by workspace, group, or role and page through large directories. This reads mappings only and does not query individual workspace members. Enterprise-gated. Returns 403 on non-Enterprise Portkey plans.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_scim_workspace_mappings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Zero-based results page to retrieve; the first page is 0. These SCIM tools name the parameter page, not the current_page used by other list tools. | |
| role | No | Return only mappings that grant this workspace role | |
| page_size | No | Mappings per page, from 1 through 100 | |
| workspace_id | No | Return only mappings for this Portkey workspace UUID (the id from list_workspaces, not its slug) | |
| scim_group_id | No | Return only mappings for this identity-provider SCIM group ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Call succeeded | |
| data | No | Success payload | |
| error | No | Failure details |