Vai al contenuto principale
PUT
/
api
/
v1
/
cloud-defender
/
{id}
cURL
curl --request PUT \
  --url https://app.aegister.com/api/v1/cloud-defender/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-Aegister-Token: <api-key>' \
  --data '
{
  "organization": 123,
  "fqdn": "<string>",
  "email": "[email protected]",
  "endpoint": "127.0.0.1",
  "services": [
    "Caching"
  ]
}
'
{
  "error": 0,
  "messages": "<array>",
  "data": {
    "id": 2,
    "organization": {
      "id": 123,
      "name": "<string>",
      "logo": "<string>"
    },
    "email": "[email protected]",
    "fqdn": "<string>",
    "check": {
      "stat": {
        "fqdn": 0,
        "proxy": 0,
        "endpoint": 0,
        "datetime": "2023-11-07T05:31:56Z"
      },
      "status": 0,
      "web_stat": [
        {
          "datetime": "2023-11-07T05:31:56Z",
          "waf_protection": 1,
          "total_managed_requests": 1
        }
      ]
    },
    "endpoint": "127.0.0.1",
    "services": [
      "Caching"
    ]
  }
}

Authorizations

X-Aegister-Token
string
header
required

Path Parameters

id
integer
required

Body

organization
number

Organization unique identifier for which the Cloud Defender is installed.

fqdn
string

(Fully Qualified Domain Name) is your web application domain name.

email
string<email>

Email address of the Cloud Defender manager.

endpoint
string<ipv4>

Web application exposed interface address.

services
enum<string>[]

The services you need to activate for the web application.

Opzioni disponibili:
Caching,
DDoS,
OneFirewall,
WAF

Response

error
integer

Any value different from 0 indicates an error.
More details can be found in messages.

Intervallo richiesto: 0 <= x <= 0
messages
array

If error is 1, contains zero or more details on the error.

data
object