The whole hunk
from line 2, old and new numbered
/
lines
from line 2
22
33**GET** `/v1/organizations/workspaces/{workspace_id}/service_accounts`
44
5**Requires an OAuth access token with the `org:admin` scope**, from `ant auth login --scope org:admin` or a workload identity federation rule; Admin API keys are not accepted. See [Manage WIF with the Admin API](/docs/en/manage-claude/wif-admin-api).
6
57List the service accounts that are members of a workspace.
68
79Each entry includes the service account's `workspace_role`. Use `limit`
from line 86
8486```bash
8587curl https://api.anthropic.com/v1/organizations/workspaces/$WORKSPACE_ID/service_accounts \
8688 -H 'anthropic-version: 2023-06-01' \
87 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN"
89 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN"
8890```
8991
9092### Response (200)