PUT
/
v2
/
custom-field
/
toggle-archive
/
{customfieldId}
cURL
curl --request PUT \
  --url https://api.gptmaker.ai/v2/custom-field/toggle-archive/{customfieldId} \
  --header 'Authorization: Bearer <token>'
{
  "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

Query Parameters

archived
boolean
default:false

Define se o campo deve ser arquivado (true) ou desarquivado (false)

Response

204
application/json

Campo atualizado com sucesso

The response is of type object.