Skip to main content
PUT
Update API key

Authorizations

Authorization
string
header
required

All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.

Path Parameters

cid
string
required

The unique, auto-generated identifier for the API key

Example:

"ak1234567890abcdef"

Body

name
string
required

Name of the API key

Example:

"Entities scanner"

description
string

Description of the API key

Example:

"API Key used for entities scanner script"

Response

Successfully updated API key

cid
string
required

ID of the API key

Example:

"ak1234567890abcdef"

createdDate
string<date-time>
required

Creation date of the API key

Example:

"2025-01-15T22:47:30Z"

last4
string
required

Last 4 characters of the API key

Example:

"0kAg"

roles
object[]
required

Roles assigned to the API key

Roles assigned to the API key

description
string

Description of the API key

Example:

"API Key used for entities scanner script"

expirationDate
string<date-time>

Expiration date of the API key

name
string

Name of the API key

Example:

"Entities scanner"

Last modified on September 24, 2026