Removes a specific custom menu from the system. This operation requires authentication and proper permissions. The custom menu is identified by its unique ID, and the operation is performed within the context of a specific company.

http
DELETE https://services.leadconnectorhq.com/custom-menus/{customMenuId}

Authorization

NameTypeRequiredExampleDescription
AuthorizationstringYesBearer token generated from the Leadway portal. See Authentication.
VersionstringYes2021-07-28API version.

Path parameters

NameTypeRequiredExampleDescription
customMenuIdstringYes62e589c1-c456-47e1-a9a7-cb8900014311ID of the custom menu to delete

Responses

200 - Custom menu successfully deleted
  • success (boolean): Indicates whether the custom menu was successfully deleted Example: True

  • message (string): A message providing additional information about the deletion operation Example: Custom menu successfully deleted

  • deletedMenuId (string): The ID of the deleted custom menu Example: 12345abcde

  • deletedAt (string): Timestamp of when the deletion was performed Example: 2023-09-12T15:30:45.123Z

json
{
  "success": true,
  "message": "Custom menu successfully deleted",
  "deletedMenuId": "12345abcde",
  "deletedAt": "2023-09-12T15:30:45.123Z"
}
400 - Bad Request. Invalid parameters provided.
401 - Unauthorized
json
{}
403 - Forbidden. The client does not have necessary permissions to delete this custom menu.
404 - Not Found. The specified custom menu does not exist or has already been deleted.
422 - Unprocessable Entity
json
{}

Example

curl -X DELETE 'https://services.leadconnectorhq.com/custom-menus/YOUR_customMenuId' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Version: 2021-07-28'

Last updated October 26, 2026

Was this page helpful?