Version 4.0.25.20 (latest)
Set all groups for a role, removing all existing group associations from that role.
Calls to this endpoint may be denied by Looker (Google Cloud core) .
Request
PUT
/roles/{role_id}/groups
Datatype
Description
Request
HTTP Request
path
HTTP Path
Expand HTTP Path definition...
role_id
string
id of role
body
HTTP Body
Expand HTTP Body definition...
body
string[]
Response
200: Groups with role.
Datatype
Description
(array)
Group
[]
can
lock
object
Operations the current user is able to perform on this object
can_add_to_content_metadata
boolean
Group can be used in content access controls
contains_current_user
lock
boolean
Currently logged in user is group member
external_group_id
lock
string
External Id group if embed group
externally_managed
lock
boolean
Group membership controlled outside of Looker
id
lock
string
Unique Id
include_by_default
lock
boolean
New users are added to this group by default
name
string
Name of group
user_count
lock
integer
Number of users included in this group
400: Bad Request
Datatype
Description
(object)
message
lock
string
Error details
documentation_url
lock
string
Documentation link
403: Permission Denied
Datatype
Description
(object)
message
lock
string
Error details
documentation_url
lock
string
Documentation link
404: Not Found
Datatype
Description
(object)
message
lock
string
Error details
documentation_url
lock
string
Documentation link
405: Resource Can't Be Modified
Datatype
Description
(object)
message
lock
string
Error details
documentation_url
lock
string
Documentation link
409: Resource Already Exists
Datatype
Description
(object)
message
lock
string
Error details
documentation_url
lock
string
Documentation link
422: Validation Error
Datatype
Description
(object)
message
lock
string
Error details
errors
Expand ValidationErrorDetail definition...
field
lock
string
Field with error
code
lock
string
Error code
message
lock
string
Error info message
documentation_url
lock
string
Documentation link
documentation_url
lock
string
Documentation link
429: Too Many Requests
Datatype
Description
(object)
message
lock
string
Error details
documentation_url
lock
string
Documentation link

