curl --request PUT \
--url https://api.hubapi.com/properties/v1/companies/groups/named/{group_name} \
--header 'Content-Type: application/json' \
--data '{
"displayName": "<string>",
"displayOrder": 123
}'
{
"name": "<string>",
"displayName": "<string>",
"displayOrder": 123,
"hubspotDefined": true,
"properties": [
{
"name": "<string>",
"label": "<string>",
"description": "<string>",
"groupName": "<string>",
"type": "string",
"fieldType": "textarea",
"options": [
{
"description": "<string>",
"label": "<string>",
"value": "<string>",
"displayOrder": 123,
"hidden": true,
"readOnly": true,
"doubleData": 123
}
],
"displayOrder": 123,
"formField": true,
"readOnlyValue": true,
"readOnlyDefinition": true,
"hidden": true,
"mutableDefinitionNotDeletable": true,
"favorited": true,
"favoritedOrder": 123,
"calculated": true,
"externalOptions": true,
"displayMode": "<string>",
"createdUserId": 123,
"updatedUserId": 123
}
]
}
Update a previously created company property group.
curl --request PUT \
--url https://api.hubapi.com/properties/v1/companies/groups/named/{group_name} \
--header 'Content-Type: application/json' \
--data '{
"displayName": "<string>",
"displayOrder": 123
}'
{
"name": "<string>",
"displayName": "<string>",
"displayOrder": 123,
"hubspotDefined": true,
"properties": [
{
"name": "<string>",
"label": "<string>",
"description": "<string>",
"groupName": "<string>",
"type": "string",
"fieldType": "textarea",
"options": [
{
"description": "<string>",
"label": "<string>",
"value": "<string>",
"displayOrder": 123,
"hidden": true,
"readOnly": true,
"doubleData": 123
}
],
"displayOrder": 123,
"formField": true,
"readOnlyValue": true,
"readOnlyDefinition": true,
"hidden": true,
"mutableDefinitionNotDeletable": true,
"favorited": true,
"favoritedOrder": 123,
"calculated": true,
"externalOptions": true,
"displayMode": "<string>",
"createdUserId": 123,
"updatedUserId": 123
}
]
}
The name of the property group you want to update.
Company property group updated successfully
The response is of type object
.
Was this page helpful?