PUT
/
objects
/
{object_name}
/
attributes
/
{attribute_name}
/
options
/
{option_name}
curl --request PUT \
  --url https://api.unifygtm.com/data/v1/objects/{object_name}/attributes/{attribute_name}/options/{option_name} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "api_name": "<string>",
  "display_name": "<string>"
}'
{
  "status": "success",
  "data": {
    "api_name": "<string>",
    "display_name": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

object_name
string
required
attribute_name
string
required
option_name
string
required

Body

application/json

Definition of an option for a SELECT or MULTI_SELECT attribute.

Response

200
application/json

Response for a successful update operation.