Index user

Adds a datasource user or updates an existing user.

SecurityBearerAuth
Request
Request Body schema: application/json
required
version
integer <int64>

Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.

datasource
required
string

The datasource for which the user is added

required
object (DatasourceUserDefinition)

describes a user in the datasource

Responses
200

OK

400

Bad Request

401

Not Authorized

409

Conflict

post/indexuser
Request samples
application/json
{
  • "version": 0,
  • "datasource": "string",
  • "user": {
    • "email": "string",
    • "userId": "string",
    • "name": "string",
    • "isActive": true
    }
}