Skip to main content

Request access to file

POST /api/v1/files/{fileId}/requestAccess HTTP/1.1

Sends email to the file owner or cloud notification to the owner’s Android device with permission request.

  1. Path parameters
ParameterDescription
fileIdThe ID of the file.
  1. Example request
curl 'http://localhost:8080/api/v1/files/189417710/requestAccess' -i -X POST \
-H 'X-co-auth-token: 9ebf7e147bacb3bbdf815bc060d7d345' \
-H 'X-Tenant-ID: stub'
  1. Example response
HTTP/1.1 200 OK
X-co-request-id: 4e4f4c777477525a37664f5847595652