Update Organization Property Definition
Updates an existing organization property definition. You can update the name and options list for the property.
Note: The property type and slug cannot be changed. When updating options for a dropdown property, the entire options list is replaced with the new list provided. If some options are removed during the update, all property values for these options will be removed.
Request
PUT /v2/organizations/properties/industry HTTP/1.1
Authorization: Bearer oauth_token
Content-Type: application/json
{
"name" : "Updated Industry",
"options" : [ {
"label" : "Technology"
}, {
"label" : "Manufacturing"
} ]
}
Path Parameters
/v2/organizations/properties/{slug}
Request fields
| Path | Type | Required | Description |
|---|---|---|---|
name |
String |
Y | Updated name of the property. Maximum 100 characters. |
options |
Array |
N | The updated list of options for a dropdown property. Maximum 100 options. When provided, this completely replaces the existing options list. |
Request fields
| Path | Type | Required | Description |
|---|---|---|---|
label |
String |
Y | Human readable label for the option, max length 100 characters. |
Response
HTTP/1.1 204 No Content