Method: Conjur::Policy::Executor::Revoke#remove_host_from_layer

Defined in:
lib/conjur/policy/executor/revoke.rb

#remove_host_from_layerObject



11
12
13
14
15
16
17
# File 'lib/conjur/policy/executor/revoke.rb', line 11

def remove_host_from_layer
  action({
    'method' => 'delete',
    'path' => "layers/#{fully_escape statement.role.id}/hosts/#{fully_escape statement.member.roleid}",
    'parameters' => {}
  })
end