3.3.5.1.13 GrantUserAccess
Requests that one or more users be granted a particular type of access to the file.<76>
HTTP Verb: POST
URI: HTTP://server/<...>/wopi*/files/<id>?access_token=<token>
The request message for this operation contains the following HTTP headers.
Request header |
Usage |
Value |
---|---|---|
X-WOPI-Override |
A string specifying requested operation from the WOPI server. Required. |
The string "GRANT_USER_ACCESS". |
The response message for this operation can result in the following status codes.
Status code |
Description |
---|---|
200 |
Success |
400 |
Invalid user JSON. |
401 |
Token is invalid |
404 |
File unknown/User unauthorized |
500 |
Server error |
501 |
Unsupported |