cURL
curl --request DELETE \ --url https://api.example.com/antigens/{antigen_id} \ --header 'Authorization: Bearer <token>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Delete an antigen. Fails if complex jobs reference it (ON DELETE RESTRICT via jobs.antigen_id SET NULL doesn’t block the antigen row itself, but complex_results.antigen_id does).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response