JUMP TOIntroductionGetting started with PlanetScale APIUse casesRate limitsPaginationAuthenticationService tokensOAuthOAuth access scopesSample OAuth applicationPlanetScale APIOrganizationsList organizationsgetGet an organizationgetUpdate an organizationpatchList regions for an organizationgetDatabasesList databasesgetCreate a databasepostGet a databasegetUpdate database settingspatchDelete a databasedeleteList read-only regionsgetList database regionsgetDatabase branchesList branchesgetCreate a branchpostGet a branchgetDelete a branchdeleteDemote a branchpostPromote a branchpostEnable 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 tokenpostRegionsList public regionsgetUsersGet current usergetEnable safe migrations for a branchpost https://api.planetscale.com/v1/organizations/{organization}/databases/{database}/branches/{name}/safe-migrations