Skip to main content
PUT
Update access key status

gRPC method: UpdateAccessKeyStatus

Sets every access key for principalName to ACTIVE or SUSPENDED. Suspending a key prevents it from being used to authenticate without revoking it; reactivating it restores its usability.
data.json
Example request

인증

Authorization
string
header
기본값:Bearer {API_ACCESS_TOKEN}
필수

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 POST token-exchange endpoints (anonymous) and the OIDC container credentials GET (which uses ContainerCredentialsAuth).

본문

application/json

Inputs for updating the status of every access key owned by a principal.

principalName
string
필수

The fully-qualified principal whose access-key status should change.

status
enum<string>
필수

The new status to apply to every access key for the principal. ACTIVE makes the keys usable; SUSPENDED prevents authentication without revoking them. The underlying enum also declares INVALID (its zero value), which is never valid to send.

사용 가능한 옵션:
ACTIVE,
SUSPENDED

응답

OK