Reset the default brand

post/v1/brand/resetdefault/

This API is used to reset the default brand. Any brand can be set as default in the available list of brands.

Code snippet

curl -X POST 'https://api.boldsign.com/v1/brand/resetdefault?brandId={brandId}' \
      -H 'X-API-KEY: {your API key}'
var apiClient = new ApiClient("https://api.boldsign.com", "{your API key}");
var brandingClient = new BrandingClient(apiClient);
await brandingClient.ResetDefaultBrandAsync("5f20d408-0ca6-4a00-a121-	04ddd828b1df").ConfigureAwait(false);
import requests

url = "https://api.boldsign.com/v1/brand/resetdefault?brandId={your brandId}"

payload={}
headers = {
  'X-API-KEY': '{use your API-KEY here}'
}

response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
const axios = require('axios'); 
const response = await axios.post( 
    ' https://api.boldsign.com/v1/brand/resetdefault', 
    '', 
    { 
        params: { 
            'brandId': '{pass your brandId here}' 
        }, 
        headers: { 
            'X-API-KEY': '{use your API-KEY here}' 
        } 
    } 
); 

Query parameters

Heading1Heading2
brandIdstringRequiredThe brand Id obtained after successful brand creation needs to be passed to set the default brand.

Example response

200 Success

{
  "message": "The default brand has been updated successfully"
}