Update child teams for parent team

Replace the child teams linked to a parent team. The provided list of child team IDs entirely replaces the current set: missing child teams are linked and extra child teams are unlinked. Parent team responsibilities are then recalculated from the linked child teams.

post/teams/{parent_team_id}/updateChildTeams

Request

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

Path parameters

parent_team_idinteger required

Unique ID of the parent team

Request body

child_team_idsinteger[] required

The full list of child team IDs that should be linked to this parent team. This list replaces the current set of child teams. Pass an empty array to unlink all child teams.

Example request

{
  "child_team_ids": [
    1,
    2,
    5
  ]
}

Response

The child teams of the parent team have been successfully updated

successinteger

The integer 1 indicating success

Example response

{
  "success": 1
}

Changes

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