curl -X POST "<base_url>/usermanagement/v1/users/renew" \
-H "X-AccessToken: YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"userName": "string",
"serviceName": "rmd",
"period": 30
}'
{
"header": {
"code": 1,
"message": "Account has been renewed successfully",
"response_code": 1
},
"body": {
"userName": "string",
"serviceName": "rmd",
"expiryDate": "04-11-2026"
}
}
{
"header": {
"code": 1001,
"message": "you can renew account when 10 or less days are remaining",
"response_code": 1001
},
"body": {}
}
User Management
Renew a User
Renews an existing user’s subscription for the given period.
POST
/
usermanagement
/
v1
/
users
/
renew
curl -X POST "<base_url>/usermanagement/v1/users/renew" \
-H "X-AccessToken: YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"userName": "string",
"serviceName": "rmd",
"period": 30
}'
{
"header": {
"code": 1,
"message": "Account has been renewed successfully",
"response_code": 1
},
"body": {
"userName": "string",
"serviceName": "rmd",
"expiryDate": "04-11-2026"
}
}
{
"header": {
"code": 1001,
"message": "you can renew account when 10 or less days are remaining",
"response_code": 1001
},
"body": {}
}
Send a live request to
POST /usermanagement/v1/users/renew with Try it. See the full reference for the response fields and error codes: Renew a User.
Request Body
string
required
Username generated when the user was created.
string
Service to apply this to. Omit it to apply to the user and every service they are subscribed to.
number
required
curl -X POST "<base_url>/usermanagement/v1/users/renew" \
-H "X-AccessToken: YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"userName": "string",
"serviceName": "rmd",
"period": 30
}'
{
"header": {
"code": 1,
"message": "Account has been renewed successfully",
"response_code": 1
},
"body": {
"userName": "string",
"serviceName": "rmd",
"expiryDate": "04-11-2026"
}
}
{
"header": {
"code": 1001,
"message": "you can renew account when 10 or less days are remaining",
"response_code": 1001
},
"body": {}
}