Skip to main content
POST
/
organization
/
{organizationId}
/
project
/
{projectId}
/
github
/
link
Link GitHub repository to project
curl --request POST \
  --url https://us.cybedefend.com/organization/{organizationId}/project/{projectId}/github/link \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "repositoryId": "uuid-value"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string<uuid>
required

Organization identifier

projectId
string<uuid>
required

Project identifier

Body

application/json
repositoryId
string
required

Repository identifier

Example:

"uuid-value"

Response

Repository linked successfully