Skip to main content
PUT
/
v0
/
contract
/
{id}
/
stage
Update a contract's stage
curl --request PUT \
  --url https://{hostname}.gable.ai/v0/contract/{id}/stage \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "contractStage": "ACTIVE"
}
'
{
  "message": "<string>",
  "contractId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string<uuid>
required

Contract ID

Body

application/json

Contract stage update

contractStage
enum<string>
required

The new contract stage for the contract

Available options:
ACTIVE,
DEPRECATED,
DRAFT,
ARCHIVED

Response

Contract stage updated

message
string
required

Success message or information about the operation

contractId
string<uuid>
required

The ID of the contract that was updated