curl --fail-with-body -X DELETE "$RAWCHUNKS_API/api/albums/$(jq -nr --arg v "$ID" '$v|@uri')"
{
"success": true,
"id": "<string>"
}Albums
Delete an album
Remove an album record.
DELETE
/
api
/
albums
/
{id}
curl --fail-with-body -X DELETE "$RAWCHUNKS_API/api/albums/$(jq -nr --arg v "$ID" '$v|@uri')"
{
"success": true,
"id": "<string>"
}Restrict this operation to the album creator in your product.
Headers and parameters
string
required
Resource ID.
Response (200)
Success.boolean
required
string
required
Errors
Failed JSON responses contain anerror string. Check the HTTP status before reading a successful result. See job handling for interrupted or uncertain submissions.
| Status | Meaning |
|---|---|
400 | Invalid request. |
500 | Request failed. |
curl --fail-with-body -X DELETE "$RAWCHUNKS_API/api/albums/$(jq -nr --arg v "$ID" '$v|@uri')"
โI