Reset the default brand

post/v1/brand/resetdefault/

This API is used to reset the default brand. You can set any brand as default from the list of available 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 boldsign

configuration = boldsign.Configuration(
    api_key ="YOUR_API_KEY"
)

with boldsign.ApiClient(configuration) as api_client:
    
    branding_api = boldsign.BrandingApi(api_client)
    
    reset_brand_response = branding_api.reset_default_brand(
        brand_id="YOUR_BRAND_ID"
    )
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

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"
}