latestOpenAPI 3.0.02026-08-0819201.1 MB

411f9f98c01e

teams

Update the Team based on the specified Team Id

You need contract.devTeams.edit permission to access this resource

patch/teams/{team_id}

Path parameters

team_idstring required

Team identifier

Request body

Example request

{
  "data": {
    "attributes": {
      "docker_registry": {
        "uri": "https://index.docker.io/v1/",
        "credentials": {
          "authFile": "~/.docker/config.json"
        }
      }
    }
  }
}

Response

OK

metaobject required

Example response

{
  "data": {
    "id": "5b4f337bff4304610483ba67",
    "links": {
      "self": "/v2/teams/5b4f337bff4304610483ba67"
    },
    "attributes": {
      "name": "Team name"
    },
    "relationships": {
      "contract": {
        "data": {
          "id": "5b4f337bff4304610483ba67"
        },
        "links": {
          "self": "/v2/contracts/5b4f337bff4304610483ba67"
        }
      },
      "users": {
        "data": [
          {
            "id": "5b4f337bff4304610483ba67"
          }
        ]
      },
      "components": {
        "data": [
          {
            "id": "5b4f337bff4304610483ba67"
          }
        ]
      }
    }
  },
  "links": {
    "self": "/v2/teams/5b4f337bff4304610483ba67"
  }
}