Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

cristihainic
New Contributor III

What Parameters should be sent to QRS API in order to create a User

Hi everyone,

If I try creating a user by sending a POST request to the following QRS API endpoint:

/qrs/user

I get this response:

[{"schemaPath":"User.userId","errorText":"The repository detected an invalid property of the following type: userId"},{"schemaPath":"User.userDirectory","errorText":"The repository detected an invalid property of the following type: userDirectory"}]

I reckon I should send some parameters along with my request. However, these parameters don't make sense to me. Is the API requestting a userId already? How can I have that, since the user is not yet created and I want to create it?

So, my question is: what parameters should I send along with my POST request?

Many thanks for helping out,

Chris

Tags (2)
1 Reply
s29124141
Contributor II

Re: What Parameters should be sent to QRS API in order to create a User

Qlik Sense user can be created by following one of the following methods.

  1. creating new user directory connectors (https://help.qlik.com/en-US/sense/3.2/Subsystems/ManagementConsole/Content/create-user-directory-con...)
  2. adding user access/login access rule under license and tokens(https://help.qlik.com/en-US/sense/3.2/Subsystems/ManagementConsole/Content/allocate-user-access.htm).