{% extends "docs/base.html" %} {% block docs_content %}

Update team

Update a team by slug.

Endpoint

PUT /api/v1/teams/{team_slug}
Team Owner

Request

JSON body (optional): name, is_active.

Usage

curl \
  --request PUT \
  --header "Authorization: Bearer $PEARING_API_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"name": "Platform Engineering"}' \
  "$PEARING_API_URL/v1/teams/platform"

Success

200 OK with updated team.

{
  "uuid": "...",
  "slug": "platform",
  "name": "Platform Engineering"
}

Errors

Common auth errors are documented on the API overview page.

{% endblock %}