Sha256: ea6105b56a2539d016a71416ef45cd02adf3470547bcd400ecfa850cc5383a44
Contents?: true
Size: 350 Bytes
Versions: 22
Compression:
Stored size: 350 Bytes
Contents
require_relative 'common' module Kontena::Cli::Grids class RemoveUserCommand < Clamp::Command include Kontena::Cli::Common include Common parameter "EMAIL", "Email address" def execute require_api_url token = require_token result = client(token).delete("grids/#{current_grid}/users/#{email}") end end end
Version data entries
22 entries across 22 versions & 1 rubygems