Skip to main content
PATCH
/
v1
/
databases
/
{id}
/
public-network
/
{status}
Change public network status
curl --request PATCH \
  --url https://api.iran.liara.ir/v1/databases/{id}/public-network/{status} \
  --header 'Authorization: <api-key>'
This response has no body data.

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #

Path Parameters

id
string
required
status
enum<string>
required
Available options:
enable,
disable

Response