PUT api/2.0/project/{projectid}/team/security
Sets the security rights for the user or users with the IDs specified in the request within the selected project
Name |
Description |
Type |
Example |
projectid
sent in url
|
Project ID
|
number
|
1234
|
userId
sent in body
|
ID of the user to set
|
guid
|
9924256A-739C-462b-AF15-E652A3B1B6EB
|
security
sent in body
|
Security rights
|
None, Messages, Tasks, Files, Milestone, Contacts
|
|
visible
sent in body
|
Visible
|
Bool value
|
true
|
PUT api/2.0/project/1234/team/security
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"userId": "9924256A-739C-462b-AF15-E652A3B1B6EB",
"security": "none",
"visible": true
}