users
oauth

Disconnect an app

Changed on

Revoke the OAuth grant of an app connected to a user's account: its tokens stop working at once, and it must ask for consent again. Only the user themselves and server admins have access, with a JWT (user session token).

delete/v0/users/{user}/oauth/grants/{grant}

Request

  • The document declares no server URL.
  • Auth
    none declared

Path parameters

grantstring uuid required

The UUID for an OAuth grant.

userstring required

The slug or UUID for a user.

Response

successful deletion

Changes