cURL
curl --request DELETE \ --url https://cloud.onyx.app/api/user/projects/{project_id}/files/{file_id} \ --header 'Authorization: Bearer <token>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Unlink an existing user file from a specific project for the current user.
Does not delete the underlying file; only removes the association.
Authorization header with Bearer token
Successful Response
Was this page helpful?