Update custom attribute in Account
Update a custom attribute in account
Authorization
userApiKey This token can be obtained by visiting the profile page or via rails console. Provides access to endpoints based on the user permissions levels. This token can be saved by an external system when user is created via API, to perform activities on behalf of the user.
In: header
Path Parameters
The ID of the custom attribute to be updated.
The numeric ID of the account
ID of the custom attribute
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/v1/accounts/0/custom_attribute_definitions/0" \ -H "Content-Type: application/json" \ -d '{}'{
"id": 0,
"attribute_display_name": "string",
"attribute_display_type": "string",
"attribute_description": "string",
"attribute_key": "string",
"regex_pattern": "string",
"regex_cue": "string",
"attribute_values": "string",
"attribute_model": "string",
"default_value": "string",
"created_at": "string",
"updated_at": "string"
}{
"description": "string",
"errors": [
{
"field": "string",
"message": "string",
"code": "string"
}
]
}{
"description": "string",
"errors": [
{
"field": "string",
"message": "string",
"code": "string"
}
]
}