cURL
curl --request PUT \ --url https://api.unifygtm.com/data/v1/objects/{object_name}/attributes/{attribute_name} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "type": "Address", "api_name": "<string>", "display_name": "<string>", "description": "<string>", "is_required": true, "is_unique": true }'
{ "status": "success", "data": { "type": "Address", "api_name": "<string>", "display_name": "<string>", "description": "<string>", "is_required": true, "is_unique": true } }
Definition of an attribute on a Unify object. Base properties that define an attribute on a Unify object.
Response for a successful update operation.