The following request deletes a user group.
Execution permission
You must be a system administrator or a security administrator.
Request line
DELETE base-URL/security/v1/user-groups/object-ID-of-the-user-group
Request message
- Object ID of the user group
-
Specify the value of id acquired by using the request for getting information about a list of user groups.
However, you cannot specify a user group for which builtin is set to true.
Attribute
Type
Description
id
string
(Required) Object ID of the user group
- Query parameters
- None.
- Body
- None.
Coding example
curl -v -X DELETE -s "https://example.com:443/portal/security/v1/user-groups/baf760bc-c789-4cb9-a9cb-662b0b2e4be1" -H "Authorization:Bearer eyJhbxxx"
Tip: Because this request uses SSL
communication, you must either run the curl command with the root
certificate of the Common Services server certificate
specified for the --cacert option, or run the command with the
-k option specified. (The -k option runs the command by
ignoring SSL errors.)