Method: NgrokAPI::Services::ApplicationUsersClient#delete!

Defined in:
lib/ngrokapi/services/application_users_client.rb

#delete!(id: "") ⇒ NgrokAPI::Models::Empty

Delete an application user by ID. Throws an exception if API error.

https://ngrok.com/docs/api#api-application-users-delete

Parameters:

  • id (string) (defaults to: "")

    a resource identifier

Returns:

  • (NgrokAPI::Models::Empty)

    result from the API request



79
80
81
82
83
84
85
# File 'lib/ngrokapi/services/application_users_client.rb', line 79

def delete!(id: "")
  path = '/app/users/%{id}'
  replacements = {
    id: id,
  }
  @client.delete(path % replacements, danger: true)
end