curl --request POST \
--url https://api.hubapi.com/crm/v3/properties/{objectType}/batch/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"name": "my_custom_property"
}
]
}
'This response has no body data.Archive a provided list of properties. This method will return a 204 No Content response on success regardless of the initial state of the property (e.g. active, already archived, non-existent).
curl --request POST \
--url https://api.hubapi.com/crm/v3/properties/{objectType}/batch/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"name": "my_custom_property"
}
]
}
'This response has no body data.Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
The type of object for which the properties are being archived.
Show child attributes
Was this page helpful?