{% extends "docs/base.html" %} {% block docs_content %}
Update a team by slug.
PUT /api/v1/teams/{team_slug}JSON body (optional): name, is_active.
curl \
--request PUT \
--header "Authorization: Bearer $PEARING_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{"name": "Platform Engineering"}' \
"$PEARING_API_URL/v1/teams/platform"200 OK with updated team.
{
"uuid": "...",
"slug": "platform",
"name": "Platform Engineering"
}403 Forbidden when caller requests a disallowed update.404 Not Found when team slug does not exist.409 Conflict for duplicate team slug.Common auth errors are documented on the API overview page.