Deactivate OAuth App User

Version 4.0.24.16

Deactivate an app for a user

Deactivate a user for a given oauth client app. All tokens issued to the app for this user will be invalid immediately. Before the user can use the app with their Looker account, the user will have to read and accept an account use disclosure statement for the app.

Admin users can deactivate other users, but non-admin users can only deactivate themselves.

As with most REST DELETE operations, this endpoint does not return an error if the indicated resource (app or user) does not exist or has already been deactivated.

Request

DELETE /oauth_client_apps/{client_guid}/users/{user_id}
Datatype
Description
Request
HTTP Request
path
HTTP Path
Expand HTTP Path definition...
client_guid
string
The unique id of this application
user_id
string
The id of the user to enable use of this app
query
HTTP Query
Expand HTTP Query definition...
fields
string
Requested fields.

Response

204: Successfully deleted.

Datatype
Description
(string)
string

400: Bad Request

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

404: Not Found

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

429: Too Many Requests

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link