Skip to main content
PATCH
/
api-key
/
{apiKeyId}
curl --request PATCH \
  --url https://api.example.com/api-key/{apiKeyId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Pontua Bot"
}
'
{
  "status": true,
  "mensagem": "OK"
}

Path Parameters

apiKeyId
string
required

Body

application/json

The API Key to be updated

name
string
required

Name of the key

Example:

"Pontua Bot"

isActive
boolean

Status of the key

Example:

true

Response

The updated API Key in message

status
boolean
required

Status da operação

Example:

true

mensagem
string

Mensagem de retorno

Example:

"OK"