Update access key status
Activate or suspend a principal’s access keys.
gRPC method: UpdateAccessKeyStatus
- The API server is
https://api.coreweave.com. - Replace
{API_ACCESS_TOKEN}with your CoreWeave API access token. - For required permissions, see IAM Access Policies.
principalName to
ACCESS_KEY_STATUS_ACTIVE or
ACCESS_KEY_STATUS_SUSPENDED. Suspending a key prevents
it from being used to authenticate without revoking it;
reactivating it restores its usability.
Authorizations
CoreWeave API access token sent as a bearer token in the Authorization header (the value is prefixed with Bearer). Used by every operation except the SAML/OIDC token-exchange endpoints (anonymous) and the container credentials GET (which uses ContainerCredentialsAuth).
Body
Inputs for updating the status of every access key owned by a principal.
The fully-qualified principal whose access-key status should change.
The new status to apply to every access key for the principal. ACCESS_KEY_STATUS_ACTIVE makes the keys usable; ACCESS_KEY_STATUS_SUSPENDED prevents authentication without revoking them.
ACCESS_KEY_STATUS_ACTIVE, ACCESS_KEY_STATUS_SUSPENDED