Skip to main content
DELETE
/
user
/
projects
/
{project_id}
/
files
/
{file_id}
Unlink User File From Project
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>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Authorization header with Bearer token

Path Parameters

project_id
integer
required
file_id
string<uuid>
required

Response

Successful Response