Skip to main content
PUT
Toggle Api Key

Authorizations

X-API-Key
string
header
required

PromptGuard API key for developer endpoints. Keys start with pg_live_ and are created in the dashboard.

Headers

x-api-key
string | null

Path Parameters

key_id
string
required

Response

Successful Response

What the toggle answers: whether the key authenticates from now on.

success
boolean
required
is_active
boolean
required