Firewall/Actions

This page describes actions you can perform on firewalls. Reboot and reset password of firewall instance.

Reboot Firewall

Reboot firewall.

Synchronous / Asynchronous

  • Asynchronous

Request

HTTP Request method

  • POST

HTTP Request Path

{endpoint}/v2.0/firewalls/{firewall_id}/reboot

HTTP Request Parameters

Parameter Style Type Format Enumeration Description Required
firewall_id URI string hyph-uuid - Unique ID of the Firewall yes
type plain string - [‘HARD’] - yes

Response

HTTP Response Code List

Response Code Description
200 OK
400 Bad Request
401 UnAuthorized
404 Not Found
500 Internal Server Error

HTTP Response Parameters

This operation does not receive a response body.

Examples

Sample Request Body

{
  "type": "HARD"
}

Sample Response Body

This operation does not receive a response body.

Reset Password Firewall

Reset password of firewall instance.

Synchronous / Asynchronous

  • Asynchronous

Request

HTTP Request method

  • POST

HTTP Request Path

{endpoint}/v2.0/firewalls/{firewall_id}/reset_password

HTTP Request Parameters

Parameter Style Type Format Enumeration Description Required
firewall_id URI string hyph-uuid - Unique ID of the Firewall yes
username plain string - - - yes

Response

HTTP Response Code List

Response Code Description
200 OK
400 Bad Request
401 UnAuthorized
404 Not Found
500 Internal Server Error

HTTP Response Parameters

Parameter Type Format Description
new_password string - -
username string - -

Examples

Sample Request Body

{
  "username": "user-read"
}

Sample Response Body

{
  "new_password": "ABCDabcd4321",
  "username": "user-read"
}