API Reference
Remove tags from many prompts at once
Counterpart of the bulk assign, for multi-prompt tag edits. Prompts outside the organization are reported in `skippedPromptIds` instead of failing the request, and pairs that were never linked are absorbed.
X-API-Key<token>
API Key for programmatic access
In: header
Path Parameters
domainId*string
Public UUID of the domain whose tag library is addressed
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/domains/3fa85f64-5717-4562-b3fc-2c963f66afa6/tags/assignments/bulk-unassign" \ -H "Content-Type: application/json" \ -d '{ "promptIds": [ "3fa85f64-5717-4562-b3fc-2c963f66afa6" ], "tagIds": [ "7c9e6679-7425-40de-944b-e07fc1f90ae7" ] }'{ "removed": 34, "skippedPromptIds": [ "3fa85f64-5717-4562-b3fc-2c963f66afa6" ]}