Revoke Authorized App
DELETE
/auth/authorized-apps/{client_id}
const url = 'https://example.com/auth/authorized-apps/example';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/auth/authorized-apps/exampleRevoke this user’s whole grant to one app — all its access + refresh tokens die at once.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”client_id
required
Client Id
string
Responses
Section titled “Responses”Successful Response
Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}