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) branding_api.reset_default_brand(brand_id="YOUR_BRAND_ID")
<?php require_once "vendor/autoload.php"; $config = new BoldSign\Configuration(); $config->setApiKey('YOUR_API_KEY'); $branding_api = new BoldSign\Api\BrandingApi($config); $branding_api->resetDefaultBrand($brand_id = 'YOUR_BRAND_ID');
ApiClient client = Configuration.getDefaultApiClient(); client.setApiKey("YOUR_API_KEY"); BrandingApi brandingApi = new BrandingApi(client); brandingApi.resetDefaultBrand("YOUR_BRAND_ID");
import { BrandingApi } from "@boldsign/node-sdk"; const brandingApi = new BrandingApi(); brandingApi.setApiKey("YOUR_API_KEY"); brandingApi.resetDefaultBrand("YOUR_BRAND_ID");
Query parameters
brandIdstringRequired | The 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" }