Entity Type API
Cancel Schema Migration
Cancel a still-pending schema migration. Once the worker has started applying it, the request fails with FailedPrecondition.
POST
Cancel Schema Migration
Authentication and permissions
Token requirements: User-based token (OAuth) or Organization-scoped API key or Team-scoped API key. Send a bearer access token for one of these identities. The permissions and resource restrictions below also apply.
Permissions joined by + are all required; or separates alternatives. Full-access keys still cannot call endpoints marked unsupported. Team keys must allow every team checked by the request. OAuth access depends on the user’s roles and resource access.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
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
200 - application/json
Success
The cancelled migration (status CANCELLED).

