Repositories and search
Update Repository
Rename a repository or change its description.
PATCH
Preview. This endpoint is available to organisations in the Wordsmith MCP pilot. Other organisations receive
403 mcp_not_enabled. See the preview overview.description to null to clear it.
Authentication
Requires an API key, or an OAuth token withrepositories:write. The caller also needs edit access to the repository.
Path parameters
string
required
The repository id.
Body parameters
string
The new name, up to 200 characters.
string | null
The new description, up to 2,000 characters, or
null to clear it.Response
Returns200 with the updated repository, in the shape Get Repository returns.