Editar tipo
Muda nome, ícone, ordem, se pode conter, o acesso geral e, com `properties`, a lista completa de propriedades. Exige `ontology.types.manage`. Exige o escopo ontology:write.
Authorization
chaveDeApi Chave de API da organização, criada nas configurações. Envie-a em Authorization: Bearer <sua chave>.
In: header
Path Parameters
Identificador do tipo.
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/ontology/types/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{ "type": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "single_name": "string", "icon": "string", "position": 0, "can_contain": true, "general_access": "none", "properties": [ { "key": "string", "label": "string", "kind": "text", "options": [ "string" ] } ], "count": 0 }}