Description: Unshares a shared local or remote repository. The repository is not deleted but remains assigned to the source repository.
Since: 7.15.3
Security: Requires a user with the Platform Administrator role.
Usage: DELETE ${baseUrl}/access/api/v1/projects/_/share/repositories/{repo_name}
Parameters:
Name | Description |
|---|---|
(path) | The repository name |
Header parameter: Authorization: Bearer
Sample Request:
curl -X DELETE "${baseUrl}/access/api/v1/projects/_/share/repositories/${repo_name}" -H "accept: application/json -H 'Authorization: Bearer <a valid access-token>"Sample Response:
UnShared