Conjure

Remove many screens

Removes 1 to 1000 screens in one request, as DELETE /v1/screens/{id} does, and returns the ids it removed and the ids that were not in the library. It cannot be undone. Needs the admin token (`Authorization: Bearer <token>`) or the curator's session.

POST/v1/screens/remove

Removes 1 to 1000 screens in one request, as DELETE /v1/screens/{id} does, and returns the ids it removed and the ids that were not in the library. It cannot be undone. Needs the admin token (Authorization: Bearer <token>) or the curator's session.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

ids*array<>
Items1 <= items <= 1000

Response Body

application/json

application/json

curl -X POST "https://api.conjure.design/v1/screens/remove" \
  -H "Content-Type: application/json" \
  -d '{
    "ids": [
      "string"
    ]
  }'
{
  "removed": [
    "string"
  ],
  "missing": [
    "string"
  ]
}
{
  "error": {
    "code": "bad_request",
    "message": "string",
    "requestId": "string"
  }
}