JUMP TOIntroductionGetting started with PlanetScale APIUse casesRate limitsPaginationAuthenticationService tokensOAuthSample OAuth applicationPlanetScale APIOrganizationsList organizationsgetGet an organizationgetUpdate an organizationpatchList regions for an organizationgetDatabasesList databasesgetCreate a databasepostGet a databasegetUpdate database settingspatchDelete a databasedeleteList database promotion requestsgetList read-only regionsgetList database regionsgetDatabase branchesList branchesgetCreate a branchpostGet a branchgetDelete a branchdeleteDemote a branchpostGet a demotion requestgetCancel or deny a demotion requestdeletePromote a branchpostGet a promotion requestgetCreate a promotion requestpostEnable safe migrations for a branchpostDisable safe migrations for a branchdeleteGet a branch schemagetLint a branch schemagetBackupsList backupsgetCreate a backuppostGet a backupgetDelete a backupdeleteDatabase branch passwordsList passwordsgetCreate a passwordpostGet a passwordgetUpdate a passwordpatchDelete a passworddeleteRenew a passwordpostDeploy requestsGet the deploy queuegetList deploy requestsgetCreate a deploy requestpostGet a deploy requestgetClose a deploy requestpatchComplete a gated deploy requestpostUpdate auto-apply for deploy requestputCancel a queued deploy requestpostComplete an errored deploypostQueue a deploy requestpostGet a deploymentgetList deploy operationsgetComplete a revertpostList deploy request reviewsgetReview a deploy requestpostSkip revert periodpostOAuth applicationsList OAuth applicationsgetGet an OAuth applicationgetList OAuth tokensgetGet an OAuth tokengetDelete an OAuth tokendeleteOAuth tokensCreate or renew an OAuth tokenpostUsersGet current usergetEnable safe migrations for a branchpost https://api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{name}/safe-migrations