The following request deletes a user.
Execution permission
You must be a system administrator or a security administrator.
Request line
DELETE base-URL/security/v1/users/object-ID-of-the-user
Request message
Coding example
curl -v -X DELETE -s "https://example.com:443/portal/security/v1/users/8b39869a-a778-4a08-a2ff-bf967946e836" -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.)