Rename a team for future generations
Save a team rename for future generated trees.
This endpoint does not start a generation. If a team is renamed more than once, the latest name applies to the original and intermediate slugs.
Authorizations
API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.
Headers
Optionally set this header to act as a specific user when using an API Key, equivalent to first exchanging the API Key for a User Token
Body
Rename a team by its slug.
The rename remains in effect across subsequent context-document regenerations.
Both old_slug and new_slug must match [a-z0-9-]{1,64}. new_name
is optional; omit it to keep the generated display name.
Response
Successful Response