Add a new user group.
POST {{baseUrl}}/app/rest/userGroups?fields=<string>
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fields | string |
Request Body
{"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"=>"<integer>", "user"=>[{"username"=>"<string>", "name"=>"<string>", "id"=>"<long>", "email"=>"<string>", "lastLogin"=>"<string>", "password"=>"<string>", "hasPassword"=>"<boolean>", "realm"=>"<string>", "href"=>"<string>", "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>"}}]}, "roles"=>{"role"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "groups"=>{"count"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "group"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "locator"=>"<string>", "avatars"=>{"urlToSize20"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "urlToSize28"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "urlToSize32"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "urlToSize40"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "urlToSize56"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "urlToSize64"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "urlToSize80"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "enabled2FA"=>"<boolean>"}, {"username"=>"<string>", "name"=>"<string>", "id"=>"<long>", "email"=>"<string>", "lastLogin"=>"<string>", "password"=>"<string>", "hasPassword"=>"<boolean>", "realm"=>"<string>", "href"=>"<string>", "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>"}}]}, "roles"=>{"role"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "groups"=>{"count"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "group"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "locator"=>"<string>", "avatars"=>{"urlToSize20"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "urlToSize28"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "urlToSize32"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "urlToSize40"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "urlToSize56"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "urlToSize64"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "urlToSize80"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}, "enabled2FA"=>"<boolean>"}]}, "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
{"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":"\u003cinteger\u003e","user":[{"username":"\u003cstring\u003e","name":"\u003cstring\u003e","id":"\u003clong\u003e","email":"\u003cstring\u003e","lastLogin":"\u003cstring\u003e","password":"\u003cstring\u003e","hasPassword":"\u003cboolean\u003e","realm":"\u003cstring\u003e","href":"\u003cstring\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"}}]},"roles":{"role":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"groups":{"count":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"group":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"locator":"\u003cstring\u003e","avatars":{"urlToSize20":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"urlToSize28":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"urlToSize32":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"urlToSize40":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"urlToSize56":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"urlToSize64":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"urlToSize80":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"enabled2FA":"\u003cboolean\u003e"},{"username":"\u003cstring\u003e","name":"\u003cstring\u003e","id":"\u003clong\u003e","email":"\u003cstring\u003e","lastLogin":"\u003cstring\u003e","password":"\u003cstring\u003e","hasPassword":"\u003cboolean\u003e","realm":"\u003cstring\u003e","href":"\u003cstring\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"}}]},"roles":{"role":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"groups":{"count":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"group":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"locator":"\u003cstring\u003e","avatars":{"urlToSize20":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"urlToSize28":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"urlToSize32":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"urlToSize40":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"urlToSize56":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"urlToSize64":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"urlToSize80":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"enabled2FA":"\u003cboolean\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"}}]}}