>-#

get_server_exclude_database{sid}#

Code samples

#  You can also use wget

curl -X GET https://PEM-SERVER-IP/pem/api/v17/server/exclude_database/{sid} \
  -H Accept: application/json \
  -H X-Auth-Token: string
import requests
headers = {
  Accept: application/json,
  X-Auth-Token: string
}

r = requests.get(https://PEM-SERVER-IP/pem/api/v17/server/exclude_database/{sid}, headers = headers)

print(r.json())
const headers = {
  Accept: "application/json",
  "X-Auth-Token": "string",
};

fetch("https://PEM-SERVER-IP/pem/api/v17/server/exclude_database/{sid}", {
  method: "GET",

  headers: headers,
})
  .then(function (res) {
    return res.json();
  })
  .then(function (body) {
    console.log(body);
  });

GET /server/exclude_database/{sid}

Retrieve information for the excluded databases, identified by the server id.

Parameters#

Name

In

Type

Required

Description

sid

path

string

true

Server ID

X-Auth-Token

header

string

true

Token of authorization

Example responses

{
  "server_id": 0,
  "name": "string",
  "exclude_databases": ["string"]
}

Responses#

Status

Meaning

Description

Schema

200

Invoking the server installer from the command line

Status 200

ExcludeDatabases

Note

This operation does not require authentication

put_server_exclude_database{sid}#

Code samples

#  You can also use wget

curl -X PUT https://PEM-SERVER-IP/pem/api/v17/server/exclude_database/{sid} \
  -H Content-Type: application/json \
  -H X-Auth-Token: string
import requests
headers = {
  Content-Type: application/json,
  X-Auth-Token: string
}

r = requests.put(https://PEM-SERVER-IP/pem/api/v17/server/exclude_database/{sid}, headers = headers)

print(r.json())
const inputBody = {
  "exclude_databases": [
    "string"
  ]
};
const headers = {
  Content-Type:application/json,
  X-Auth-Token:string
};

fetch(https://PEM-SERVER-IP/pem/api/v17/server/exclude_database/{sid},
{
  method: PUT,
  body: inputBody,
  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});

PUT /server/exclude_database/{sid}

Update the excluded database information.

Body parameter

{
  "exclude_databases": ["string"]
}

Parameters#

Name

In

Type

Required

Description

sid

path

string

true

Server ID

X-Auth-Token

header

string

true

Token of authorization

body

body

ExcludeDatabasesPutData

true

none

Example responses

Responses#

Status

Meaning

Description

Schema

200

Invoking the server installer from the command line

Email group updated successfully

None

Response Schema#

Note

This operation does not require authentication

delete_server_exclude_database{sid}#

Code samples

#  You can also use wget

curl -X DELETE https://PEM-SERVER-IP/pem/api/v17/server/exclude_database/{sid} \
  -H X-Auth-Token: string
import requests
headers = {
  X-Auth-Token: string
}

r = requests.delete(https://PEM-SERVER-IP/pem/api/v17/server/exclude_database/{sid}, headers = headers)

print(r.json())
const headers = {
  "X-Auth-Token": "string",
};

fetch("https://PEM-SERVER-IP/pem/api/v17/server/exclude_database/{sid}", {
  method: "DELETE",

  headers: headers,
})
  .then(function (res) {
    return res.json();
  })
  .then(function (body) {
    console.log(body);
  });

DELETE /server/exclude_database/{sid}

Delete the excluded databases.

Parameters#

Name

In

Type

Required

Description

sid

path

string

true

Server ID

X-Auth-Token

header

string

true

Token of authorization

Example responses

Responses#

Status

Meaning

Description

Schema

200

Invoking the server installer from the command line

Excluded databases deleted successfully

None

Response Schema#

Note

This operation does not require authentication