Permissions
Index membership
Add the memberships of a group in the datasource.
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Describes the request body of the /indexmembership API call
The datasource for which the membership is added
The membership to be added or updated
Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.
Response
200
_mintlify/placeholder
OK
Was this page helpful?
Previous
Bulk index memberships for a groupReplaces the memberships for a group in a datasource using paginated batch API calls. Please refer to the [bulk indexing](https://developers.glean.com/docs/indexing_api_bulk_indexing/#bulk-upload-model) documentation for an explanation of how to use bulk endpoints.
Next