Skip to content

Revoke an app

DELETE
/api/protocol/v1/auth/grants/{id}

Revokes the grant, every token under it, and every signer the app registered. First-party session + same-origin.

id
required
string

Grant id

Ok

unauthenticated

object
error
required

Stable machine-readable code (snake_case) or a short reason.

string
message
string
key
additional properties
any

Cross-origin refused

object
error
required

Stable machine-readable code (snake_case) or a short reason.

string
message
string
key
additional properties
any

Not_found

object
error
required

Stable machine-readable code (snake_case) or a short reason.

string
message
string
key
additional properties
any