Delete a file and its associations.
cURL
curl --request DELETE \ --url https://api.cuadra.ai/v1/files/{file_id} \ --header 'Authorization: Bearer <token>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
JWT token from Stytch B2B authentication (magic link, SSO, or M2M)
File ID
"file_abc123"
File deleted successfully
Was this page helpful?