Search

Create User

Last Updated: Dec 28, 2022

Articles

Use this API to create users.

Tenant Admin and Member

  • URL: https://{DOMAIN}/gus/api/v2/users/invite
  • Method: POST
  • Authentication Type: Token- Based Authentication
  • Request Body:

    {
    “username”:“{username}”,
    “firstName”:“{First Name}”,
    “lastName”:“{Last Name}”,
    “emailId”:“{Email ID}”,
    “canCreateApps”:{true | false}, # set true to provide privilege to create apps to user
    “admin”:{true | false}, # Set true to creat Admin User and false to create member user
    “emailSubject”:“{Subject}”,
    “emailInvite”:“{EmailInviteMessage}”
    }

  • Sample Request Body:

    {
    “username”:“JohnSmith”,
    “firstName”:“John”,
    “lastName”:“Smith”,
    “emailId”:“johnsmith@gmail.com”,
    “canCreateApps”:true,
    “admin”:true,
    “emailSubject”:“You have been invited”,
    “emailInvite”:“Tenant Admin has invited you to join the Jiffy tenant on https://tenant.jarvisdit.jiffy.ai. “
    }

SAML and LDAP Admin and Member

  • URL: https://{DOMAIN}/gus/api/v2/users/invite/external/auth’
  • Method: POST
  • SAML Request Body


    {“username”:“JohnSmith”,
    “firstName”:“John”,
    “lastName”:“Smith”,
    “emailId”:“johnsmith@gmail.com”,
    “canCreateApps”:true,
    “admin”:true,
    “authType”:“SAML”,
    “firstName”:“user5”
    }

  • LDAP Request Body


{"username":"JohnSmith",
"firstName":"John",
"lastName":"Smith",
"emailId":"johnsmith@gmail.com",
"canCreateApps":true,
"admin":true,
"authType":"LDAP"
}

To view all the APIs, click here.

Did you find what you were looking for?