Delete membership

Delete membership to a group in the specified datasource. Silently succeeds if membership is not present.

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 removed

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/deletemembership
Request samples
application/json
{
  • "version": 0,
  • "datasource": "string",
  • "membership": {
    • "groupName": "string",
    • "memberUserId": "string",
    • "memberGroupName": "string"
    }
}