Skip to main content
PUT
cURL

Authorizations

Authorization
string
header
required

Send your API key as a bearer token: Authorization: Bearer <your API key>. Make a key in the dashboard under Settings → API keys; a workspace key starts with wdg_org_ and works in the workspace it was made in. See API keys and Authentication.

Path Parameters

orgId
string<uuid>
required

Organization ID

keyId
string
required

API key ID

Body

application/json
name
string

New name for the API key

isActive
boolean

Active status

Response

Organization API key updated successfully

success
boolean
required

Always true on a success.

Example:

true

data
object
required

A workspace API key, as it is listed. It acts as the workspace and works in that workspace only: a workspace's key starts with wdg_org_, and the key of a partner's home workspace (its only workspace) starts with wgt_prt_. It never carries the secret: that is shown once, in the answer to the request that made the key, and cannot be read again.

Example:
meta
object

Extra information about the answer: where a page sits in a list, the cursor of the next page, or warnings about a call that succeeded with a caveat.