batch

public final BatchEventsResponse batch(String identifier, BatchEventsRequest requestBody, BatchEventsQueryParams queryParams, RequestOverrides overrides)
public final BatchEventsResponse batch(String identifier, BatchEventsRequest requestBody, BatchEventsQueryParams queryParams)

Run multiple event create, update and delete operations in one request. Supported for Google and Microsoft grants.

A 207 response (one or more operations failed) is returned, not thrown. Check each result's BatchEventResult.status and BatchEventResult.error.

Return

The results, in the same order as the operations

Parameters

identifier

The identifier of the grant to act upon

requestBody

The operations to run

queryParams

The query parameters to include in the request, applied to every operation

overrides

Optional request overrides to apply