Link resource to team

Link resource to team

post/teams/{team_id}/linkResource

Request

  • Base URL
    https://app.aikido.dev/api/public/v1
  • URL
    https://app.aikido.dev/api/public/v1/teams/{team_id}/linkResource
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://app.aikido.io/api/oauth/token scopes: teams:write

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
}

Changes

No recorded changes to this operation across all 1 revision of this API.