PUT
/
v1
/
accounts
/
attributes
/
{id}
curl --request PUT \
  --url https://platform.thena.ai/v1/accounts/attributes/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "icon": "camera",
  "color": "#000000",
  "isClosed": false,
  "metadata": {},
  "value": "PROSPECT",
  "isDefault": false
}'
{
  "id": "<string>",
  "attribute": "account_status",
  "value": "PROSPECT",
  "isDefault": true,
  "configuration": {},
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "metadata": {}
}

Authorizations

x-api-key
string
header
required

Enter your API key

Path Parameters

id
string
required

Body

application/json

Response

200
application/json

Operation successful

The response is of type object.