Skip to main content
PUT
/
v1
/
accounts
/
attributes
/
{id}
Updates an account attribute value
curl --request PUT \
  --url https://platform.thena.ai/v1/accounts/attributes/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "value": "PROSPECT",
  "isDefault": false
}'
{
  "id": "<string>",
  "attribute": "account_status",
  "value": "PROSPECT",
  "isDefault": true,
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Authorizations

Authorization
string
header
required

Enter the bearer token

Path Parameters

id
string
required

Body

application/json
value
string

Attribute value

Example:

"PROSPECT"

isDefault
boolean

Whether the attribute is default

Example:

false

Response

Operation successful

id
string
required

The unique identifier of the attribute value

attribute
enum<string>
required

Attribute type

Available options:
account_status,
account_classification,
contact_type,
activity_type,
activity_status,
note_type,
task_type,
task_status,
task_priority
Example:

"account_status"

value
string
required

Attribute value

Example:

"PROSPECT"

isDefault
boolean
required

Whether this value is default for the attribute

createdAt
string
required

The creation date of the attribute value

updatedAt
string
required

The update date of the attribute value

I