---
title: "Update access key status"
method: PUT
path: "/v1/cwobject/access-key-status"
tags: ["CWObject"]
---

# Update access key status

`PUT /v1/cwobject/access-key-status`

Updates the status of every access key for a principal to `ACCESS_KEY_STATUS_ACTIVE` or `ACCESS_KEY_STATUS_SUSPENDED`.

## Request body

- UpdateAccessKeyStatusRequest — Inputs for updating the status of every access key owned by a principal.
  - `principalName` string, required — The fully-qualified principal whose access-key status should change.
  - `status` 'ACCESS_KEY_STATUS_ACTIVE' | 'ACCESS_KEY_STATUS_SUSPENDED', enum, required — 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.

## Response `200`

OK

## Other responses

- `default` — Default error response

---

[API](https://skmtc.net/coreweave/apis/coreweave-telemetry-relay-api.md) · [All operations](https://skmtc.net/coreweave/apis/coreweave-telemetry-relay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coreweave/coreweave-telemetry-relay-api/versions/3b98ea4fe0c3/schema)
