Index membership

Add the memberships of a group in the datasource.

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 membership is added

required
object (DatasourceMembershipDefinition)

describes the membership row of a group. Only one of memberUserId and memberGroupName can be specified.

Responses
200

OK

400

Bad Request

401

Not Authorized

409

Conflict

post/indexmembership
Request samples
application/json
{
  • "version": 0,
  • "datasource": "string",
  • "membership": {
    • "groupName": "string",
    • "memberUserId": "string",
    • "memberGroupName": "string"
    }
}