JUMP TOIntroductionGetting started with PlanetScale APIUse casesRate limitsPaginationAuthenticationService tokensOAuthOAuth access scopesSample OAuth applicationPlanetScale APIBackupsList backupsgetCreate a backuppostGet a backupgetDelete a backupdeleteDatabase branch passwordsList passwordsgetCreate a passwordpostGet a passwordgetUpdate a passwordpatchDelete a passworddeleteRenew a passwordpostDatabasesList databasesgetCreate a databasepostGet a databasegetUpdate database settingspatchDelete a databasedeleteList read-only regionsgetList database regionsgetOAuth applicationsList OAuth applicationsgetGet an OAuth applicationgetList OAuth tokensgetGet an OAuth tokengetDelete an OAuth tokendeleteOAuth tokensCreate or renew an OAuth tokenpostOrganizationsList organizationsgetGet an organizationgetUpdate an organizationpatchList regions for an organizationgetUsersGet current usergetDeploy 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 periodpostDatabase 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 schemagetRegionsList public regionsgetUpdate an organizationpatch https://api.planetscale.com/v1/organizations/{name}Authorization A OAuth token must have at least one of the following scopes in order to use this API endpoint: OAuth Scopes ResourceScopesOrganizationwrite_organization