Assign User to License

Assigns a user to a single license, if the requesting manager has access permissions to it.

URL: /api/v1/licenses/{id}/assign_user/ Method: POST

Request body

JSON
{
    "email": "[email protected]",
    "first_name": "John",
    "last_name": "Doe",
    "phone_number": "00385913109161",
    "is_manager": false,
    "password": "4q3dg7!_",
    "max_activations": 500,
    "total_activations": 200
}

Success response

Code: 200 OK

JSON
{
    "message": "License assigned.",
    "new_password": "4q3dg7!_"
}

Was this helpful?