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.
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 |