Try our new Setup Skill to automatically integrate Hyperspell into your project
curl --request POST \
--url https://api.hyperspell.com/context-documents/teams/rename \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"old_slug": "<string>",
"new_slug": "<string>",
"new_name": "<string>"
}
'{
"team_overrides": {}
}Persist a team rename.
Fires no regen on its own — the rename applies to the next generated tree. Chain-flattens on write: renaming X→Y where an existing override K→X exists rewrites that to K→Y and still records X→Y, so future lookups are always one hop deep.
curl --request POST \
--url https://api.hyperspell.com/context-documents/teams/rename \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"old_slug": "<string>",
"new_slug": "<string>",
"new_name": "<string>"
}
'{
"team_overrides": {}
}Documentation Index
Fetch the complete documentation index at: https://docs.hyperspell.com/llms.txt
Use this file to discover all available pages before exploring further.
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.
Rename a team by its slug.
Stored in ContextDocConfig.team_overrides and applied at two points
during generation: the detection seed (so the stability mechanism
remembers the rename) and the post-detection list (so any re-detected
old slug is normalized back to the new one).
Both old_slug and new_slug must match [a-z0-9-]{1,64}. new_name
is optional — omit to keep the display name the LLM picks.
Successful Response
Show child attributes
Was this page helpful?