Update API Credential

Version 4.0.25.14 (latest)

API login information for the specified user. This is for the newer API keys that can be added for any user.

Calls to this endpoint may be denied by Looker (Google Cloud core).

Request

PATCH /users/{user_id}/credentials_api3/{credentials_api3_id}
Datatype
Description
Request
HTTP Request
path
HTTP Path
Expand HTTP Path definition...
user_id
string
Id of user
credentials_api3_id
string
Id of API Credential
body
HTTP Body
Expand HTTP Body definition...
body
API Credential
Expand CredentialsApi3 definition...
can
object
Operations the current user is able to perform on this object
id
string
Unique Id
client_id
string
API key client_id
created_at
string
Timestamp for the creation of this credential
is_disabled
boolean
Has this credential been disabled?
type
string
Short name for the type of this kind of credential
purpose
string
User defined purpose for this credential.
url
string
Link to get this item
query
HTTP Query
Expand HTTP Query definition...
fields
string
Requested fields.

Response

200: API Credential

Datatype
Description
(object)
can
object
Operations the current user is able to perform on this object
id
string
Unique Id
client_id
string
API key client_id
created_at
string
Timestamp for the creation of this credential
is_disabled
boolean
Has this credential been disabled?
type
string
Short name for the type of this kind of credential
purpose
string
User defined purpose for this credential.
url
string
Link to get this item

400: Bad Request

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

403: Permission Denied

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