Delete ColorCollection

Version 4.0.24.6 (latest)

Delete a custom color collection by id

This operation permanently deletes the identified Custom color collection.

Standard color collections cannot be deleted

Because multiple color collections can have the same label, they must be deleted by ID, not name. Note: Only an API user with the Admin role can call this endpoint. Unauthorized requests will return Not Found (404) errors.

Request

DELETE /color_collections/{collection_id}
Datatype
Description
Request
HTTP Request
path
HTTP Path
Expand HTTP Path definition...
collection_id
string
Id of Color Collection

Response

200: Success

204: Successfully deleted.

Datatype
Description
(string)
string

400: Bad Request

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

403: Permission Denied

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

404: Not Found

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

429: Too Many Requests

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link