cURL
curl --request DELETE \
--url 'https://www.rainbrand.com/api/v1/brands/e6220a5e-4a68-4d39-8bb9-5105e9a3a164/library/a8dd463a-09ab-4307-93e5-6e4cecd61ffd' \
--header "x-api-key: $RAINBRAND_API_KEY"{
"data": {
"id": "a8dd463a-09ab-4307-93e5-6e4cecd61ffd",
"inLibrary": false
}
}{
"error": {
"code": "UNAUTHORIZED",
"status": 401,
"message": "Invalid or missing API credentials",
"data": "<unknown>"
}
}{
"error": {
"code": "ACCOUNT_BANNED",
"status": 403,
"message": "This account has been suspended.",
"data": "<unknown>"
}
}{
"error": {
"code": "BRAND_NOT_FOUND",
"status": 404,
"message": "Brand not found",
"data": "<unknown>"
}
}{
"error": {
"code": "TOO_MANY_REQUESTS",
"status": 429,
"message": "Rate limit exceeded",
"data": "<unknown>"
}
}{
"error": {
"code": "LIBRARY_UNAVAILABLE",
"status": 503,
"message": "The Library cannot be changed right now",
"data": "<unknown>"
}
}Brand Library
Remove from a Brand Library
Take a file out of a brand’s Library without deleting it. Future Briefs, Brand Edits, and Brand Skill versions stop using it; published Brand Skills keep working. To delete the file, use its media family’s delete endpoint.
DELETE
/
brands
/
{id}
/
library
/
{mediaId}
cURL
curl --request DELETE \
--url 'https://www.rainbrand.com/api/v1/brands/e6220a5e-4a68-4d39-8bb9-5105e9a3a164/library/a8dd463a-09ab-4307-93e5-6e4cecd61ffd' \
--header "x-api-key: $RAINBRAND_API_KEY"{
"data": {
"id": "a8dd463a-09ab-4307-93e5-6e4cecd61ffd",
"inLibrary": false
}
}{
"error": {
"code": "UNAUTHORIZED",
"status": 401,
"message": "Invalid or missing API credentials",
"data": "<unknown>"
}
}{
"error": {
"code": "ACCOUNT_BANNED",
"status": 403,
"message": "This account has been suspended.",
"data": "<unknown>"
}
}{
"error": {
"code": "BRAND_NOT_FOUND",
"status": 404,
"message": "Brand not found",
"data": "<unknown>"
}
}{
"error": {
"code": "TOO_MANY_REQUESTS",
"status": 429,
"message": "Rate limit exceeded",
"data": "<unknown>"
}
}{
"error": {
"code": "LIBRARY_UNAVAILABLE",
"status": 503,
"message": "The Library cannot be changed right now",
"data": "<unknown>"
}
}Authorizations
apiKeybeareroauth
Path Parameters
Was this page helpful?