Activate OAuth App User

Version 4.0.24.12

Activate an app for a user

Activates a user for a given oauth client app. This indicates the user has been informed that the app will have access to the user's looker data, and that the user has accepted and allowed the app to use their Looker account.

Activating a user for an app that the user is already activated with returns a success response.

Request

POST /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

200: OAuth Client App

Datatype
Description
(string)
string

204: Deleted

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

422: Validation Error

Datatype
Description
(object)
message
string
Error details
Expand ValidationErrorDetail definition...
field
string
Field with error
code
string
Error code
message
string
Error info message
documentation_url
string
Documentation link
documentation_url
string
Documentation link

429: Too Many Requests

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