organizations
Rename a service account, or change its scopes, caps or workspace.
Organization admins only (403 organization_admin_required), on a browser session with a fresh proof in the x-50h-reauth header (401 reauth_required). It needs a person: API keys, connected apps and service accounts get 403 session_required. Every change is written to the organization's audit. New scopes and caps apply to its next request. Behind the machineIdentities sub-flag: 404 not_found while it is off. A service account gets tokens from https://auth.50heads.com/token with grant_type=client_credentials and its client id and secret (HTTP Basic or the body) or a private_key_jwt assertion; no refresh token, ask again when it expires.
patch/v1/organizations/current/service-accounts/{id}
Request
- Base URL: https://api.50heads.com
- URL: https://api.50heads.com/v1/organizations/current/service-accounts/{id}
- Auth: HTTP bearer
Path parameters
idstring required
The question id.
Request body
Response
OK
Changes
No recorded changes to this operation across all 2 revisions of this API.