Delete an authorized OAuth2 application of a user
delete
Authorizations
defguard_sessionstringRequired
Path parameters
usernamestringRequired
Name of the user.
oauth2client_idinteger · int64Required
ID of the OAuth2 client.
Responses
200
Authorized OAuth2 application deleted.
No content
401
Session is missing or invalid.
application/json
403
Requires admin privileges or the request must target your own account.
application/json
404
Authorized OAuth2 application not found.
application/json
500
Unable to delete authorized OAuth2 application.
application/json
delete/api/v1/user/{username}/oauth_app/{oauth2client_id}
DELETE /api/v1/user/{username}/oauth_app/{oauth2client_id} HTTP/1.1
Accept: */*
No content
Last updated
Was this helpful?