Create firewall target for a given rule
POST https://api-authenticator.iwelcome.com/v1/firewalls/:id/target
Headers:
Authorization: Bearer {your application API Key}
Content-Type: application/json
id (string, required) - The rule id.
target_type (enum) - Required. Available options are: 'ALL', 'DEVICE', 'API_KEY', 'TOKEN_KEY', 'APPROVAL', 'AUTHENTICATION', 'AUTHORIZATION', 'ENCRYPTION_KEY'.
{
"type": "api.application.firewall.create",
"result": {
"id": "12345678",
"type": "ALLOW",
"is_logged": false,
"entity_type": "APPLICATION",
"entity_id": "1234",
"account_id": "123",
"country": {
"code": "US",
"name": "United States"
},
"created_at": "2016-11-17T13:31:08.000Z"
}
}
Have a question? You can always send us an email at support@unloq.io, or contact us on chat.
For security related concerns, please visit our Security page.