PUT
/
v2
/
custom-field
/
{customfieldId}
cURL
curl --request PUT \
  --url https://api.gptmaker.ai/v2/custom-field/{customfieldId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "type": "STRING",
  "jsonName": "<string>"
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

customfieldId
string
required

ID do campo

Body

application/json

Dados do campo customizado a ser atualizado

The body is of type object.

Response

204
application/json

Campo atualizado com sucesso

The response is of type object.