Description: Unassigns a project from a repository.
Notes: You can assign a Project to a repository using the Move Repository command.
Since: 7.17.1
Security: Requires a user with the Platform Administrator role or Project Admin permissions if admin_privileges.manage_resource is enabled.
Usage: DELETE ${baseUrl}/access/api/v1/projects/_/attach/repositories/{repo_name}
Parameters:
Name | Description |
|---|---|
| |
| The repository name |
Sample Request: Header parameter: Authorization: Bearer
curl --location --request DELETE '${baseUrl}/access/api/v1/projects/_/attach/repositories/{repo_name} \
--header 'Authorization: Bearer <a valid access-token>'Sample Response:
204