Share Repository with Target Project

Shares a local or remote repository with a specific target project. Project members of the target project are granted actions according to their roles in the target project.

Note: When you assign a resource to a project, the project owns and manages the resource. When you share a resource with a project, the project does not own the resource.

Security: Requires Platform Admin privileges.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The repository name

string
required

The target project key

Query Params
boolean

When set to true, the target project has read-only access to the repository and cannot modify its content.

Responses
204

Repository shared

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Choose an example:
application/json