Using Assign User License web service, manager can reassign available license to user for organisation. 


The following parameters are required in this web service.

organizationId: Defines the Organization Id of an Organization where that user will assigned a GenRocket license.

username: Defines a unique username which will gives the existing user to be assign GenRocket License for an organization.

Assign User License curl command (Example)

curl --insecure -H "accept:application/json" -H "Content-Type:application/json" -H "X-Auth-Token:XXXXXX" -d '{organizationId:  "XXXXXXX-ddc9-481c-adad-XXXXXXXXXXX",username: ""}'

URL Request

Payload Request (Example)


Payload OK Response (Example)

"success": true,
  "message": "User with Username is assigned license with Organization XYZ Co"

Payload Error Response (Example)

  "success": false,
  "errors": {
    "error": "Error Message"