Delete all the security groups for a specific user by login name

delete

/PASService/rest/services/v1/users/{loginName}/securityGroups

Delete all the security groups for a specific user.

Request

Path Parameters

There's no request body for this operation.

Back to Top

Response

204 Response

This operation deletes all the security groups for specific user by login name successfully.
Back to Top

Examples

This example describes how to get security group(s) for a specific user.

Example cURL Command

Use the following cURL command to submit a request on the REST resource:

curl -X DELETE \ 
     -H "Accept: application/json" \ 
     -H "Content-Type: application/json" \
     -u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
     -L "http://server:port/PASService/rest/services/v1/users/qatester3/securityGroups"
Back to Top