Skip to main content

Decline file permission

POST /api/v1/files/{fileId}/permissions/decline HTTP/1.1

Generates Notification file unshare.

  1. Path parameters
ParameterDescription
fileIdThe ID of the file.
  1. Example request
curl 'http://localhost:8080/api/v1/files/6415dde0-bd56-4e28-ab6b-44d1da17fef2/permissions/decline' -i -X POST \
-H 'X-co-auth-token: ab8adf76086d5670f9dd802550a1ba13'
  1. Example response
HTTP/1.1 204 No Content
X-co-request-id: 6JzwGP23kAZKQEaWXyCTgVroFV7s6wmn