RaabtaHQ
Delete a library instruction

Delete a library instruction

DELETE/api/v1/instructions/{id}

scope assistants:write

Deletes the instruction and unbinds it from every assistant carrying it.

Path parameters

NameTypeDescription
idrequired
string (uuid)Instruction id
Request
curl -X DELETE "https://your-crm.example.com/api/v1/instructions/5c6d7e8f-9a0b-4c1d-8e2f-3a4b5c6d7e8f" \
  -H "Authorization: Bearer $RAABTA_API_KEY"

Errors

StatusCodeWhen
400validation_errorThe body or query failed validation. `details` lists each failing field with a `path` and a `message`.
401unauthorizedNo usable API key: the Authorization header is missing or malformed, or the key is unknown, revoked or expired. The three are deliberately indistinguishable.
403forbiddenThe key is valid but lacks the scope this endpoint requires, or the request came from an address outside the key’s IP allowlist. The message says which.
403account_suspendedThe account this key belongs to is suspended. Rotating the key will not help; contact support.
404not_foundNo such resource in this account. A resource that exists in another account also returns this.
429rate_limitedThe per-key budget, or the per-IP budget for failed authentication, is exhausted. Honour `Retry-After` before retrying.
500internalSomething failed on our side. Safe to retry with the same Idempotency-Key; quote `request_id` if it persists.