ExScimClient.Resources.Bulk (ex_scim_client v0.2.1)

Copy Markdown View Source

Bulk operations resource.

Examples

iex> client = ExScimClient.Client.new("https://example.com/scim/v2", "token")
iex> operations = %{"Operations" => []}
iex> {:ok, _response} = ExScimClient.Resources.Bulk.execute(client, operations)

Summary

Functions

Executes bulk operations.

Functions

execute(client, operations)

@spec execute(ExScimClient.Client.t(), map()) :: {:ok, map()} | {:error, term()}

Executes bulk operations.

Parameters

Examples

iex> client = ExScimClient.Client.new("https://example.com/scim/v2", "token")
iex> operations = %{"Operations" => [%{"method" => "POST", "path" => "/Users", "data" => %{"userName" => "newuser"}}]}
iex> {:ok, _response} = ExScimClient.Resources.Bulk.execute(client, operations)