Spree Admin SDK
Remove an application
Takes the registration away entirely. To stop a client working without removing it, revoke its tokens instead.
Required scope: write_oauth_applications (for API-key authentication).
DELETE
Spree Admin SDK
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
import { createAdminClient } from '@spree/admin-sdk'
const client = createAdminClient({
baseUrl: 'https://your-store.com',
secretKey: 'sk_xxx',
})
await client.oauth.applications.delete('oap_UkLWZg9DAJ')spree api delete /oauth/applications/{id}Takes the registration away entirely. To stop a client working without removing it, revoke its tokens instead.
Required scope: write_oauth_applications (for API-key authentication).
import { createAdminClient } from '@spree/admin-sdk'
const client = createAdminClient({
baseUrl: 'https://your-store.com',
secretKey: 'sk_xxx',
})
await client.oauth.applications.delete('oap_UkLWZg9DAJ')spree api delete /oauth/applications/{id}Was this page helpful?
