Method: UserAccountsClient#set_support_access

Defined in:
lib/lockstep_sdk/clients/user_accounts_client.rb

#set_support_access(body:) ⇒ Object

Set support access for the calling user.

Support access allows Lockstep to access the user’s account to troubleshoot issues. Access is granted for a limited time, can be revoked at any time, and requires a code to verify the access.

Every call to this API will regenerate the support access code.

Parameters:

  • body (SupportAccessRequest)


142
143
144
145
# File 'lib/lockstep_sdk/clients/user_accounts_client.rb', line 142

def set_support_access(body:)
    path = "/api/v1/UserAccounts/support-access"
    @connection.request(:post, path, body, nil)
end