Skip to main content
POST

Authorizations

better-auth.session_token
string
cookie
required

Better Auth session cookie from email/password sign-in. On an https API origin the name is __Secure-better-auth.session_token. On http it is better-auth.session_token. Host-only unless AUTH_COOKIE_DOMAIN is set. Use a cookie jar instead of typing the name.

Body

application/json

The key id to delete.

keyId
string
required
Minimum string length: 1

Response

The key was deleted.

success
boolean
required
{key}
any