Remove Password Group For User
POST /object/user-password/{uid}/deactivate
Deletes password group for a specified user.
uid | Valid user identifier to delete password group |
Required Roles
Requires one of the following roles:
NAMESPACE_ADMIN
SYSTEM_ADMIN
Request Payload
<user_password_group_param>
<namespace></namespace>
</user_password_group_param>
{
"namespace": ""
}
All parameters are required unless otherwise stated.
Field |
Description |
Type |
Notes |
user_password_group_param |
|
|
|
namespace |
Namespace identifier to associate with the user |
String |
|
Response Body
Response indicating success or failure to delete password group
Examples
Request
POST https://192.168.0.0:4443/object/user-password/testlogin/deactivate HTTP/1.1
Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
<user_password_group_param>
<namespace>s3</namespace>
</user_password_group_param>
Response
HTTP/1.1 204 No Response
Content-Type: application/xml
Request
POST https://192.168.0.0:4443/object/user-password/testlogin/deactivate.json HTTP/1.1
Content-Type: application/json
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
{
"namespace": "s3"
}
Response
HTTP/1.1 204 No Response
Content-Type: application/json
Request
curl -H $token -H "Content-Type: application/xml" -X POST https://$nodeIp:4443/object/user-password/testlogin/deactivate
Response
HTTP/1.1 204 No Response
Content-Type: application/xml