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.
- Path parameters
| Parameter | Description |
|---|---|
fileId | The ID of the file. |
- 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'
- Example response
HTTP/1.1 200 OK
X-co-request-id: 4e4f4c777477525a37664f5847595652