Skip to main content
PUT
Update Api Key

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-API-Key
string | null

Path Parameters

key_id
integer
required

Cookies

blindsight_session
string | null

Body

application/json

Request to update an API key.

name
string | null
Required string length: 1 - 255
scopes
string[] | null
is_active
boolean | null

Response

Successful Response

API key details (without the actual key).

id
integer
required
uuid
string
required
name
string
required
key_preview
string
required
scopes
string[]
required
is_active
boolean
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
expires_at
string<date-time> | null
last_used_at
string<date-time> | null