Login | Sign Up
  • FA
  • EN

API Docs

DELETE /api/v1/admin/brands/{brand-id}

Delete a brand. Optionally transfer attached data to another brand.


Permissions

PermissionDescription
brands.view_allAccess brands
brands.deleteDelete any brand

Request Body Parameters

NameTypeRequiredDescription
replacement_idintegerNoID of another brand to transfer attached data (optional)

Response

204 No Content

No content is returned when the brand is deleted successfully.


Error Responses

StatusDescriptionReference
400When brand has data and replacement_id is not provided or is not valid. Number of attached items is returned in attached_data.
401UnauthorizedAuthentication error
403Forbidden (no permission)Permission error
404Not foundNot-found error

footer wave
logo

Dambel, the smart world of fitness and nutrition

LinkedinInstagramXYoutubeTelegramGitHub