Skip to main content
POST
Set a service account's status.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

service_account_id
string<uuid>
required

The service account's uuid.

Body

application/json

The status to set on the account.

status
enum<string>
required

Lifecycle status of a service account.

Available options:
active,
disabled

Response

The updated service account.

Response object for standard API responses.

api_version
enum<string>
default:3.0

API version.

Available options:
2.0,
3.0
kind
enum<string>
default:NORMAL

Type of response, indicating a normal response.

Available options:
NORMAL
data
object

A single service account, adding capability_scopes, project_grants, and the per-account key limit to the common fields.