Skip to Content
Auth

Update API Key

Acesso

Qualquer utilizador com sessão iniciada ou chave de API; não é necessária nenhuma permissão numa organização.

PUT
/api-keys/:id

Updates an API key's name, description and the permissions it is limited to

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Request Body

application/json
  1. body
id*string
Length1 <= length
name*string
Length1 <= length
description?string
scopes?array<string>|null

Response Body

OK

application/json
  1. response
Example Request
curl -X PUT 'https://api.tillor.eu/api-keys/:id' \  -H 'Content-Type: application/json' \  -d '{  "id": "string",  "name": "string"}'
Example Response
null