Skip to main content
POST
/
v3
/
db
/
rotate-password
/
{id}
Rotate Database Password
curl --request POST \
  --url https://api.dscloud.pt/v3/db/rotate-password/{id} \
  --header 'Authorization: <authorization>'
{
  "status": "success",
  "response": {
    "id": "003dd41a",
    "new_password": "n3w!s3cur3P@ssw0rd"
  }
}
Authorization
string
required
The API key for your account. You can find this in your account settings.

Response

status
string
Indicates whether the call was successful. success if successful, error if not.
response
array
Contains the new database credentials.
{
  "status": "success",
  "response": {
    "id": "003dd41a",
    "new_password": "n3w!s3cur3P@ssw0rd"
  }
}