Sharing project API
Share your project to collaborate with other users. You can grant either read-only or edit (write) access based on the level of permission required. Project owner or an administrator can share the project.
- Method
- POST
- URL
../apis/v1/rest/projects/:project/collaborators- Parameters
-
- project - Name of the project.
- Request headers
-
Content-Type: application/json X-INSTANCE-API-KEY: <generated API key> - Request body
- Sample custom package
{ "collaborators": { "username": { "read": true, "write": true } "username2": { "read": true, "write": false } } } - Response
-
{ "added": ["Username1"], "notFound": [], "collaborators": { "Username1": { "read": true, "write": false } } }