Delete a brand kit; 409 kit-in-use when templates' latest versions use it, unless confirmed
DELETE
/v1/brandkits/{kit}
const url = 'https://example.com/v1/brandkits/example?confirm=true';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url 'https://example.com/v1/brandkits/example?confirm=true' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”kit
required
string
Query Parameters
Section titled “Query Parameters”confirm
string
True deletes it although templates’ latest versions use it
Responses
Section titled “Responses”Done; nothing to answer.
No key, or not a valid one.
Media typeapplication/json
object
code
required
string
message
required
string
requestId
string
Example
{ "code": "field-unknown"}The key lacks the scope, or its tenant is suspended or deleted.
Media typeapplication/json
object
code
required
string
message
required
string
requestId
string
Example
{ "code": "field-unknown"}Not there, or not the tenant’s.
Media typeapplication/json
object
code
required
string
message
required
string
requestId
string
Example
{ "code": "field-unknown"}In conflict with what is there.
Media typeapplication/json
object
code
required
string
message
required
string
requestId
string
Example
{ "code": "field-unknown"}