curl -X POST "<base_url>/usermanagement/v1/users/enable" \
-H "X-AccessToken: YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"userName": "string",
"serviceName": "rmd"
}'
{
"header": {
"code": 1,
"message": "Account has been enabled successfully",
"response_code": 1
},
"body": {
"userName": "string",
"serviceName": "rmd",
"statusUpdated": "Enable"
}
}
User Management
Enable a User
Enables a previously disabled user.
POST
/
usermanagement
/
v1
/
users
/
enable
curl -X POST "<base_url>/usermanagement/v1/users/enable" \
-H "X-AccessToken: YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"userName": "string",
"serviceName": "rmd"
}'
{
"header": {
"code": 1,
"message": "Account has been enabled successfully",
"response_code": 1
},
"body": {
"userName": "string",
"serviceName": "rmd",
"statusUpdated": "Enable"
}
}
Send a live request to
POST /usermanagement/v1/users/enable with Try it. See the full reference for the response fields and error codes: Enable a User.
Request Body
string
required
Username generated when the user was created.
string
Optional. When omitted, enables the user and every service the user is subscribed to.
curl -X POST "<base_url>/usermanagement/v1/users/enable" \
-H "X-AccessToken: YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"userName": "string",
"serviceName": "rmd"
}'
{
"header": {
"code": 1,
"message": "Account has been enabled successfully",
"response_code": 1
},
"body": {
"userName": "string",
"serviceName": "rmd",
"statusUpdated": "Enable"
}
}