The whole hunk
from line 2, old and new numbered
/
lines
from line 2
22
33**POST** `/v1/organizations/service_accounts/{service_account_id}`
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
57Update a service account.
68
79Only `description` and `organization_role` are mutable; `name` cannot be
810changed. Archived service accounts cannot be updated; this returns 400.
911Setting `organization_role` to `admin` (even when unchanged) requires an
10interactive credential (a user OAuth token or a Console session). Admin
11API keys are not accepted.
12interactive credential (a user OAuth token or a Console session).
1213
1314## Path parameters
1415
from line 110
109110curl https://api.anthropic.com/v1/organizations/service_accounts/$SERVICE_ACCOUNT_ID \
110111 -H 'Content-Type: application/json' \
111112 -H 'anthropic-version: 2023-06-01' \
112 -H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" \
113 -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
113114 -d '{}'
114115```
115116