Catalog
Update a plan (name, active and metadata only; pricing is immutable)
Needs the catalog:write scope, or a full-access key. About scopes
PATCH
/
api/v1/plans/{id}Authorization
AuthorizationRequiredBearer <token>
An API key: gpy_test_… or gpy_live_… (or an agent key, agk_…).
In: header
Request Body
application/jsonOptionalnamestring
Minimum length:
1Maximum length: 200activeboolean
metadataobject
At most 20 keys; values up to 500 characters.
Path Parameters
idRequiredstring
Format:
"uuid"The plan, as GET /plans/{id} returns it.