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("YOUR_API_KEY"); var brandingClient = new BrandingClient(apiClient); brandingClient.ResetDefaultBrand("YOUR_BRAND_ID");
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"; use BoldSign\Configuration; use BoldSign\Api\BrandingApi; $config = new Configuration(); $config->setApiKey('YOUR_API_KEY'); $branding_api = new 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"; 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" }