PUT
/
api
/
v1
/
cloud-defender
/
{id}
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": 5,
  "fqdn": "sample.com",
  "email": "jdoe@sample.com",
  "endpoint": "11.22.33.44",
  "services": [
    "Caching"
  ]
}'
{
  "error": 0,
  "messages": [],
  "data": {
    "id": 2,
    "organization": {
      "id": 5,
      "name": "Sample Organization",
      "logo": "https://sample.com/logo.svg"
    },
    "email": "johndoe@mail.com",
    "fqdn": "sample.com",
    "check": {
      "stat": {
        "fqdn": 1,
        "proxy": 1,
        "endpoint": 1,
        "datetime": "2023-11-07T05:31:56Z"
      },
      "status": 1,
      "web_stat": [
        {
          "datetime": "2023-11-07T05:31:56Z",
          "waf_protection": 50,
          "total_managed_requests": 200
        }
      ]
    },
    "endpoint": "11.22.33.44",
    "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.

Example:

5

fqdn
string

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

Example:

"sample.com"

email
string

Email address of the Cloud Defender manager.

Example:

"jdoe@sample.com"

endpoint
string

Web application exposed interface address.

Example:

"11.22.33.44"

services
enum<string>[]

The services you need to activate for the web application.

Available options:
Caching,
DDoS,
OneFirewall,
WAF

Response

200
application/json
error
integer

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

Required range: 0 <= x <= 0
Example:

0

messages
any[]

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

Example:
[]
data
object