cURL
curl --request PUT \ --url https://api.comm.com/api/v1/custom-fields/{customField} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "key": "custom1_str" }'
{ "data": { "id": "<string>", "name": "<string>", "key": "<string>", "type": "<string>", "created_at": "2023-11-07T05:31:56Z" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The custom field ID
CustomFieldResource
The response is of type object.
object