Skip to main content
POST
Apply an atomic SQL migration (manage grant)

Authorizations

Authorization
string
header
required

API key passed as a Bearer token. Configure via the apiKeys field in project.json or the POLPO_API_KEY environment variable.

Path Parameters

resource
string
required
Required string length: 1 - 128

Body

application/json
id
string
required
Pattern: ^[a-z][a-z0-9_]{0,47}$
expectedVersion
integer
required
statements
object[]
required
Required array length: 1 - 100 elements
allowDestructive
boolean

Response

Success

ok
enum<boolean>
required
Available options:
true
data
object
required