POST
/
v1
/
tenants
/
api-keys
/
{api_key}
curl --request POST \
  --url https://api.base39.io/v1/tenants/api-keys/{api_key} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "rules": "*",
  "email": "<string>",
  "name": "<string>",
  "allowedIps": [
    {
      "ip": "200.50.0.0/8",
      "description": "<string>"
    }
  ]
}'

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string

Chave única de idempotência para evitar duplicação de requisições.

Path Parameters

api_key
string
required

ID da chave da API

Body

application/json

Este objeto representa alguns dados chave da API do seu negócio. Com ela você pode realizar requisições às APIs da Base39.

Response

202

Objeto atualizado com sucesso.