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 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 tokenpostUsersGet current usergetDelete an OAuth tokendelete https://api.planetscale.com/v1/organizations/{organization}/oauth-applications/{application_id}/tokens/{token_id}Authorization A service token must have at least one of the following access in order to use this API endpoint: Service Token Accesses delete_oauth_tokens