curl --request DELETE \
--url https://api.hubapi.com/forms/v2/forms/{form_guid}{
"category": "<string>",
"correlationId": "<string>",
"message": "<string>",
"subCategory": "<string>",
"errors": [
{
"message": "<string>",
"in": "<string>",
"code": "<string>",
"subCategory": "<string>",
"context": {}
}
],
"context": {},
"links": {}
}For a given portal, delete an existing form in a given HubSpot portal.
curl --request DELETE \
--url https://api.hubapi.com/forms/v2/forms/{form_guid}{
"category": "<string>",
"correlationId": "<string>",
"message": "<string>",
"subCategory": "<string>",
"errors": [
{
"message": "<string>",
"in": "<string>",
"code": "<string>",
"subCategory": "<string>",
"context": {}
}
],
"context": {},
"links": {}
}Scope requirements
The unique ID of the form that you're deleting.
Form deleted successfully