Delete a brand
Deletes a brand. The default brand cannot be deleted; domains that used the deleted brand fall back to the default.
DELETE
Deletes a brand. The default brand cannot be deleted; domains that used the deleted brand fall back to the default.
apiKeyheader
x-api-key<token>slug*stringMatch
^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$SuccessResponse
application/json- response
success*booleanimport { createClient } from "samva";
const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });
const result = await samva.brands.remove({
"slug": "example"
});Example Response
{
"success": true
}