JUMP TOIntroductionGetting started with PlanetScale APIRate limitsPaginationAuthenticationService tokensOAuthOAuth access scopesSample OAuth applicationPlanetScale APIBackupsList backupsgetCreate a backuppostGet a backupgetUpdate a backuppatchDelete 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 audit logsgetList 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 periodpostInvoicesGet invoicesgetGet an invoicegetGet invoice line itemsgetDatabase branchesList branchesgetCreate a branchpostGet a branchgetDelete a branchdeleteChange a branch cluster configurationpatchDemote a branchpostPromote a branchpostEnable safe migrations for a branchpostDisable safe migrations for a branchdeleteGet a branch schemagetLint a branch schemagetRegionsList public regionsgetGet current userget https://api.planetscale.com/v1/userGet the user associated with this service token Authorization A OAuth token must have at least one of the following scopes in order to use this API endpoint: OAuth Scopes ResourceScopesUserread_user