Skip to main content
POST
cURL
This endpoint has a rate limit of 1 request every 3 seconds, shared with the other endpoints that change databases (create, update, update credentials and delete).
Applications that use the old password stop connecting until you update them.

Authorizations

Authorization
string
header
required

Your CamposCloud API token, sent as Authorization: Bearer <token>.

Path Parameters

databaseId
string
required

ID of the database.

Pattern: ^[a-f0-9]{24}$

Body

application/json
password
string
required

Password of the database. 12 to 72 characters, only letters, numbers and _ . @ % + = -, starting with a letter or number. It must also be strong enough (zxcvbn score 3 or higher), otherwise the request is refused with password too weak. use a stronger password.

Required string length: 12 - 72
Pattern: ^[A-Za-z0-9][A-Za-z0-9_.@%+=-]*$
Example:

"Tr0ub4dor.Zebra-Lamp=91"

Response

The password was replaced.

message
string
Example:

"Credentials updated successfully."

database
object