--- title: Set permission roles for sharing participants description: POST /nd/api/share/set_participant_role: Set the permission role of the sharing participant. Interface description, including path, method, parameters and return information. slug: api-post-nd-api-share-set-participant-role lang: en category: Sharing API category_order: 8 order: 134 api_method: POST api_path: /nd/api/share/set_participant_role api_label: Set permission roles for sharing participants keywords: - API - Set permission roles for sharing participants - /nd/api/share/set_participant_role --- # 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](api-post-api-token-do.md) or the corresponding login-free authentication, and carry `Authorization: Bearer ` 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.