Skip to main content
POST
/
cabinet
/
admin
/
users
/
{user_id}
/
reset-trial
Reset User Trial
curl --request POST \
  --url http://localhost:8080/cabinet/admin/users/{user_id}/reset-trial \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "success": true,
  "message": "<string>",
  "subscription_deleted": false,
  "has_used_trial_reset": false
}

Path Parameters

user_id
integer
required

Body

application/json

Request to reset user trial.

reason
string | null

Reason for trial reset

Maximum string length: 500

Response

Successful Response

Response after trial reset.

success
boolean
required
message
string
required
subscription_deleted
boolean
default:false
has_used_trial_reset
boolean
default:false