Skip to main content
DELETE
/
orgs
/
{org_id}
/
files
/
{file_id}
/
grants
/
{user_id}
Revoke file access
import requests

url = "https://vued-office-api-dev.onrender.com/v1/orgs/{org_id}/files/{file_id}/grants/{user_id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.delete(url, headers=headers)

print(response.text)
{
  "deleted": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

org_id
string<uuid>
required
file_id
string<uuid>
required
user_id
string<uuid>
required

Response

200 - application/json

Delete result.

deleted
boolean
Last modified on June 29, 2026