Skip to content

Operators

User account management, preferences, secrets, invite links.

Auto-generated

This page is generated from source code by the schema extractor. Do not edit by hand — changes will be overwritten.


mythic_get_operators

Get a list of all operators (users) in the Mythic instance

No parameters.


mythic_get_operator

Get details of a specific operator by ID

Parameters

Parameter Type Required Description
operator_id int required ID of the operator to retrieve

mythic_create_operator

Create a new operator (user) account

Parameters

Parameter Type Required Description
username string required Username for the new operator
password string required Password (minimum 12 characters)
email *string optional Email address
bot *bool optional Create as bot account

mythic_update_operator_status

Update operator status (active/inactive, admin privileges, deleted)

Parameters

Parameter Type Required Description
operator_id int required ID of the operator to update
active *bool optional Set operator active/inactive
admin *bool optional Grant/revoke admin privileges
deleted *bool optional Mark operator as deleted

mythic_update_password_email

Update operator password and/or email address

Parameters

Parameter Type Required Description
operator_id int required ID of the operator
old_password string required Current password
new_password *string optional New password (min 12 chars)
email *string optional New email address

mythic_get_operator_preferences

Get UI preferences for an operator

Parameters

Parameter Type Required Description
operator_id int required ID of the operator

mythic_update_operator_preferences

Update UI preferences for an operator

Parameters

Parameter Type Required Description
operator_id int required ID of the operator
preferences map[string]any required Preferences to update (key-value pairs)

mythic_get_operator_secrets

Get secrets/keys associated with an operator

Parameters

Parameter Type Required Description
operator_id int required ID of the operator

mythic_update_operator_secrets

Update secrets/keys for an operator

Parameters

Parameter Type Required Description
operator_id int required ID of the operator
secrets map[string]any required Secrets to update (key-value pairs)

Get all invitation links for new operators

No parameters.


Create a new invitation link for operator registration

Parameters

Parameter Type Required Description
operation_id *int optional Operation to associate link with
operation_role *string optional Role for new users (operator/spectator)
max_uses *int optional Maximum number of uses
name *string optional Human-readable name for the link
short_code *string optional Custom short code

mythic_update_operator_operation

Add or remove operators from an operation

Parameters

Parameter Type Required Description
operation_id int required Operation to modify
add_users *[]int optional Operator IDs to add with full access
remove_users *[]int optional Operator IDs to remove
view_mode_operators *[]int optional Operator IDs to set as view-only
view_mode_spectators *[]int optional Operator IDs to set as spectators