Set the permission roles of sharing participants
| Properties | Values |
|---|---|
| HTTP method | POST |
| Interface path | /nd/api/share/set_participant_role |
| Category | Share API |
Interface description
Interface path: /nd/api/share/set_participant_role
HTTP method: POST
HTTP method: POST
POST request body parameters
Parameter name Comment (description) file_id file id (required) string babelshare_id int (required) user id string role_id int (required) role id string
Return field description
{"code":0,"success":true}
Call instructions
- Before calling, you need to complete Get token or the corresponding login-free authentication, and carry
Authorization: Bearer <access_token>in the request header. - If there are differences in parameters and return fields due to deployment versions, the actual private cloud API documents and joint debugging results should prevail.
- Category: Sharing API.