# `FireblocksSdk.Api.Management`
[🔗](https://github.com/csokun/fireblocks_sdk/blob/v0.2.4/lib/fireblocks_sdk/api/management.ex#L1)

# `create_api_user`

Creates a new API user. Admin permission is required.

Options:
* `:role` (`t:String.t/0`) - Required.

* `:name` (`t:String.t/0`) - Required.

* `:publicKey` (`t:String.t/0`)

* `:coSignerSetupIsComplete` (`t:boolean/0`)

# `create_console_user`

Creates a new console user. Admin permission is required.

Options:
* `:role` (`t:String.t/0`) - Required.

* `:name` (`t:String.t/0`) - Required.

* `:email` (`t:String.t/0`) - Required.

# `create_user_group`

Creates a new user group.

Options:
* `:groupName` (`t:String.t/0`) - The user group name

* `:memberIds` (list of `t:String.t/0`) - Array of user IDs to include in the group

# `delete_user_group`

Deletes a user group by its ID.

- `group_id`: The ID of the user group to delete.

# `get_api_user_whitelist_ip_addresses`

Returns the whitelist IP addresses for a given API user.

- `user_id`: The ID of the API user.

# `get_api_users`

Returns all API users in the current tenant.

# `get_audit_logs`

Returns audit logs for the last Day or Week.

Options:
* `:timePeriod` - The last time period to fetch. One of `:day`, `:week`

* `:cursor` (`t:String.t/0`) - Pagination cursor - the next id to start from

# `get_console_users`

Returns all console users in the current tenant.

# `get_ota_status`

Returns the current OTA (One Time Addresses) status for the workspace.

# `get_user_group`

Returns a single user group by its ID.

- `group_id`: The ID of the user group to retrieve.

# `get_user_groups`

Returns a list of all user groups in the workspace.

# `get_workspace_status`

Returns the current workspace status (Beta).

# `reset_device`

Resets the mobile device for a console user, requiring them to re-pair.

- `user_id`: The ID of the console user whose device will be reset.

# `set_ota_status`

Enables or disables OTA (One Time Address) transactions for the workspace.

- `enabled`: `true` to enable OTA transactions, `false` to disable.

# `update_user_group`

Updates an existing user group's name or member list.

- `group_id`: The ID of the user group to update.

Options:
* `:groupName` (`t:String.t/0`) - The user group name

* `:memberIds` (list of `t:String.t/0`) - Array of user IDs to include in the group

---

*Consult [api-reference.md](api-reference.md) for complete listing*
