Jobiflow LogoAPI Docs
ApiA P I Keys

Update an API key

Updates the label of an existing API key. Scopes are immutable after creation — revoke and create a new key to change scopes. Requires OAuth2 Bearer token.

PATCH
/settings/api-keys/{id}

Updates the label of an existing API key. Scopes are immutable after creation — revoke and create a new key to change scopes.

Requires OAuth2 Bearer token.

AuthorizationBearer <token>

OAuth2 Authorization Code flow. Used for dashboard-integrated flows and API key management endpoints.

In: header

Path Parameters

id*string

UUID of the API key.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

label?string

New human-readable label for this key.

Response Body

application/json

application/json

application/json

curl -X PATCH "https://example.com/settings/api-keys/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "keyPrefix": "string",
  "label": "string",
  "scopes": [
    "string"
  ],
  "createdAt": "2019-08-24T14:15:22Z",
  "expiresAt": "2019-08-24T14:15:22Z",
  "revokedAt": "2019-08-24T14:15:22Z",
  "lastUsedAt": "2019-08-24T14:15:22Z",
  "active": true
}
{
  "status": 401,
  "error": "UNAUTHORIZED",
  "message": "Invalid or missing API key",
  "timestamp": "2026-05-17T12:00:00Z",
  "path": "/public/v1/job-listings"
}
{
  "status": 404,
  "error": "NOT_FOUND",
  "message": "Job listing not found",
  "timestamp": "2026-05-17T12:00:00Z",
  "path": "/public/v1/job-listings/00000000-0000-0000-0000-000000000000"
}