Skip to main content
PUT
Update subscription contract status

Headers

X-API-Key
string
required

API Key for authentication

Query Parameters

contractId
integer<int64>
required

Subscription contract ID to update. Provide the numeric ID without the gid:// prefix

Required range: x >= 1
status
enum<string>
required

New status for the subscription contract: ACTIVE, PAUSED or CANCELLED, in uppercase.

Available options:
ACTIVE,
PAUSED,
CANCELLED
api_key
string

API Key (Deprecated - Use X-API-Key header instead)

Response

Status updated, or nothing to change because the contract already has that status. No content returned.