Update groups of the matching user.
PUT {{baseUrl}}/app/rest/users/:userLocator/groups?fields=<string>
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fields | string |
Request Body
{"count"=>"<integer>", "group"=>[{"key"=>"<string>", "name"=>"<string>", "href"=>"<string>", "description"=>"<string>", "parent-groups"=>{"count"=>"<integer>", "group"=>[{"key"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "description"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parent-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "child-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "users"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "roles"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "properties"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"key"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "description"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parent-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "child-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "users"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "roles"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "properties"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}, "child-groups"=>{"count"=>"<integer>", "group"=>[{"key"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "description"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parent-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "child-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "users"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "roles"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "properties"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"key"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "description"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parent-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "child-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "users"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "roles"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "properties"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}, "users"=>{"count"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "user"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "roles"=>{"role"=>[{"roleId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "scope"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"roleId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "scope"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}, "properties"=>{"count"=>"<integer>", "href"=>"<string>", "property"=>[{"name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "value"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "inherited"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "value"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "inherited"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}}, {"key"=>"<string>", "name"=>"<string>", "href"=>"<string>", "description"=>"<string>", "parent-groups"=>{"count"=>"<integer>", "group"=>[{"key"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "description"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parent-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "child-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "users"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "roles"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "properties"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"key"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "description"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parent-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "child-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "users"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "roles"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "properties"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}, "child-groups"=>{"count"=>"<integer>", "group"=>[{"key"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "description"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parent-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "child-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "users"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "roles"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "properties"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"key"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "description"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "parent-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "child-groups"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "users"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "roles"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "properties"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}, "users"=>{"count"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "user"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "roles"=>{"role"=>[{"roleId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "scope"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"roleId"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "scope"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "href"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}, "properties"=>{"count"=>"<integer>", "href"=>"<string>", "property"=>[{"name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "value"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "inherited"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, {"name"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "value"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "inherited"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "type"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}]}}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"count":"\u003cinteger\u003e","group":[{"key":"\u003cstring\u003e","name":"\u003cstring\u003e","href":"\u003cstring\u003e","description":"\u003cstring\u003e","parent-groups":{"count":"\u003cinteger\u003e","group":[{"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parent-groups":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"child-groups":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"users":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"roles":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"properties":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parent-groups":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"child-groups":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"users":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"roles":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"properties":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},"child-groups":{"count":"\u003cinteger\u003e","group":[{"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parent-groups":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"child-groups":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"users":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"roles":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"properties":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parent-groups":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"child-groups":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"users":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"roles":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"properties":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},"users":{"count":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"user":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"roles":{"role":[{"roleId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"scope":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"roleId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"scope":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},"properties":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","property":[{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"inherited":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"inherited":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]}},{"key":"\u003cstring\u003e","name":"\u003cstring\u003e","href":"\u003cstring\u003e","description":"\u003cstring\u003e","parent-groups":{"count":"\u003cinteger\u003e","group":[{"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parent-groups":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"child-groups":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"users":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"roles":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"properties":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parent-groups":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"child-groups":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"users":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"roles":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"properties":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},"child-groups":{"count":"\u003cinteger\u003e","group":[{"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parent-groups":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"child-groups":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"users":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"roles":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"properties":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"key":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parent-groups":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"child-groups":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"users":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"roles":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"properties":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},"users":{"count":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"user":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"roles":{"role":[{"roleId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"scope":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"roleId":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"scope":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]},"properties":{"count":"\u003cinteger\u003e","href":"\u003cstring\u003e","property":[{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"inherited":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"value":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"inherited":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}]}}]}