Lettermint.Types.DeleteTeamRoleQuery (Lettermint v2.2.0)

Copy Markdown View Source

Query parameters of DELETE /team/roles/{roleId} (deleteTeamRole).

Pass them as a map with nested maps for bracketed names: %{page: %{size: 10}} is sent as page[size]=10. Lists of values are joined with commas, lists of maps are indexed and booleans are sent as 1 or 0.

Parameters

  • replacement_role_id (optional): Same-team non-Owner role that receives existing assignments. Required only while the deleted role is assigned.

Summary

Functions

The wire names of the parameters with their decode specs.

Types

t()

@type t() :: %{optional(:replacement_role_id) => String.t() | nil}

Functions

__params__()

The wire names of the parameters with their decode specs.