Skip to main content
POST
Cancel Schema Migration

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the schema migration to cancel. Only a migration still in the PENDING state can be cancelled; once the worker has started applying it the request fails with FailedPrecondition.

Response

Success

data
data · object

The cancelled migration (status CANCELLED).