---
title: "Reactivates a suspended API key."
method: POST
path: "/api/tenants/{tenantId}/api-keys/{keyHash}/reactivate"
tags: ["ApiKeys"]
---

# Reactivates a suspended API key.

`POST /api/tenants/{tenantId}/api-keys/{keyHash}/reactivate`

## Path parameters

- `tenantId` string, required
- `keyHash` string, required

## Response `200`

OK

- ApiKeyRecord
  - `keyHash` string
  - `tenantId` string
  - `name` string
  - `description` string, nullable
  - `keyPrefix` string
  - `status` string
  - `scopes` string[]
  - `expiresAt` string, date-time, nullable
  - `lastUsedAt` string, date-time, nullable
  - `lastUsedFromIp` string, nullable
  - `allowedIpAddresses` string[], nullable
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `createdBy` string, nullable
  - `metadata` object, nullable

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

[API](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1.md) · [All operations](https://skmtc.net/clinicos/apis/pawthosx-business-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clinicos/pawthosx-business-api-v1/revisions/d8d7501dde48/schema)
