authorizeBatch

@POST(value = "api/v1/authorize")
abstract fun authorizeBatch(@Body request: AuthorizationRequestBatch, @Header(value = "dataos-correlation-id") correlationId: String = UUID.randomUUID().toString()): Call<AuthorizationResponseBatch>

This method is used to authorize a user for multiple authorization contexts.

Return

A Call object representing the asynchronous authorization response batch.

Parameters

request

The batch of requests for authorizing a user.

correlationId

The correlation ID for tracking the request (default: randomly generated UUID).