Databases

Check if a hostname is available

Changed on

Checks whether a hostname can be used for a new database.

get/v1/databases/{hostname}/check-availability

Request

  • Base URL
    https://api.liara.ir
  • URL
    https://api.liara.ir/v1/databases/{hostname}/check-availability
  • Auth
    HTTP bearer

Path parameters

hostnamestring required

Query parameters

teamIDstring

24-character hexadecimal ID.

Run the request in the context of a team you belong to, instead of your personal account.

Response

The hostname is available. The response body is empty.

Changes