Last Updated: May 10, 2022
Following are the instructions to create a Root User through the REST API of GUS.
{ “username” : “rootuname”, “password” : “Admin@123”, “emailId” : “user.email@mail.com”, “firstName” : “rootf”, “lastName” : “rootl” }
JSESSIONID=123345; Path=/; Expires=Wed, 24 May 2023 13:02:07 GMT;
{ “status”: true, “token”: “”, “error”: null, “data”: null }
This may vary based on the curl version. The user ran the following command in a Linux terminal with Curl version 7.29.0.
curl -k —location —request POST ‘https://root.corejiffy.support.internal/gus/api/root'
—header ‘Origin: root.corejiffy.support.internal’
—header ‘JSESSIONID: 52d21cdb-3c3e-438d-b4a0-1e5518de88f5’
—header ‘Content-Type: application/json’
—header ‘Cookie: JSESSIONID=52d21cdb-3c3e-438d-b4a0-1e5518de88f5’
—data ‘{ “username” : “rootuname”, “password” : “Admin@123”, “emailId” : “test@email.com”, “firstName” : “rootf”, “lastName” : “rootl” }’