Skip to main content
PUT
/
v1
/
projects
/
{projectId}
/
api-keys
/
{keyId}
Update Project API Key
curl --request PUT \
  --url https://api.anchorbrowser.io/v1/projects/{projectId}/api-keys/{keyId} \
  --header 'Content-Type: application/json' \
  --header 'anchor-api-key: <api-key>' \
  --data '
{
  "name": "<string>",
  "is_default": true
}
'
{
  "id": "<string>",
  "apikey": "<string>",
  "name": "<string>"
}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Path Parameters

projectId
string
required
keyId
string
required

Body

application/json
name
string
Required string length: 1 - 255
is_default
boolean

Response

API key updated successfully.

id
string
apikey
string
name
string