Settings API Methods

Delete a Setting

DELETE  /settings/v1/settings

For a given portal, delete a setting.

When a setting is deleted, it is set to empty or NULL.

Required Parameters How to use Description
HubSpot OAuth Access Token access_token=X - Used in the request URL The HubSpot API key for the portal that you're making the call for.
Setting Name &name=X - Used in the request URL The name of the setting you're deleting.
Optional Parameters How to use Description
None None No optional parameters for this method.

Example URL:  https://api.hubapi.com/settings/v1/settings?access_token=demooooo-oooo-oooo-oooo-oooooooooooo&name=foo

The response from this API call are standard REST-style HTTP response codes that mark success or failure, with meta information about the call that was made. There will be no data in the response body.

  • 201 - When a setting is updated
  • 401 - When an unauthorized request is made
  • 500 - When an internal server error occurs