organizations
Turn a service account off: its tokens fail on their next request and it gets no new ones.
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. 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.
post/v1/organizations/current/service-accounts/{id}/disable
Request
- Base URL: https://api.50heads.com
- URL: https://api.50heads.com/v1/organizations/current/service-accounts/{id}/disable
- Auth: HTTP bearer
Path parameters
idstring required
The question id.
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.