Description: Unshares a local or remote repository with a specific target Project.
Since: 7.15.3
Security: Requires a user assigned with the 'Administer the Platform' role.
Usage: DELETE /v1/projects/_/share/repositories/{repo_name}/{target_project_key}
Name | Description |
---|---|
(path) | The repository name |
(path) | The Project Key |
Sample Request:
curl -X DELETE "${baseUrl}/access/api/v1/projects/_/share/repositories/${repo_name}/{target_project_key}" -H "accept: application/json -H 'Authorization: Bearer <a valid access-token>"
Sample Response: Header parameter: Authorization: Bearer
Shared