v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Link resource to team

Link resource to team

post/teams/{team_id}/linkResource

Path parameters

team_idinteger required

Unique ID of the team

Request body

repo_idinteger

The id of a repo to link.

cloud_idinteger

The id of a cloud to link.

image_idinteger

The id of an image to link.

domain_idinteger

The id of a domain to link.

zen_app_idinteger

The id of a zen app to link.

Example request

{
  "repo_id": 1,
  "repo_path_limitation": {
    "limitation_type": "include",
    "paths": [
      "/client/",
      "/tests/client/"
    ]
  }
}

Response

The resource has successfully been linked to the team

successinteger

The integer 1 indicating success

Example response

{
  "success": 1
}