Skip to main content

renameStrategy

Rename a strategy and all its versions. Unlike updateStrategy (which creates a new version), renameStrategy updates the name in-place across every non-deleted version in the chain so that version history remains consistent. Optionally updates the description on the latest version only. Returns an error if the new name is already taken by a different strategy in the same organization.

renameStrategy(
id: ID!
name: String!
description: String
): Strategy!

Arguments

renameStrategy.id ● ID! non-null scalar

renameStrategy.name ● String! non-null scalar

renameStrategy.description ● String scalar

Type

Strategy object