[{"label":"Latest (2.0.0)","version":"latest"},{"version":"1.0.0"}]
srm-appliance-config-api

Update Database Password

Description

Update the database password.

Request

Request

URL

URL


post
https://{api_host}//appliance/settings/access/database-password
Copy

Request Body

Request Body

UpdateDbPasswordSpec of mimetype application/json Optional

The database password to be updated.

{
	"new_password": "string",
	"password": "string"
}
string as ^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[ !\"#$%&'()*+,-.\\/\\\\:;<=>?@[\\]^_`{|}~\"])[a-zA-Z0-9 !\"#$%&'()*+,-.\\/\\\\:;<=>?@[\\]^_`{|}~\"]{8,}$
new_password Required

Get new password for the SRM database.

    Requirements:
  • at least 8 characters long
  • with minimum one small letter
  • with minimum one capital letter
  • with minimum one number
  • with minimum one special character


string
password Required

SRM database current password.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

204 No Content

Database password is updated.

Errors

Errors

ResponseError
400

Bad request - the server could not understand the request due to invalid syntax or invalid request body content


401

Unauthorized - the client must authenticate itself to get the requested response


ResponseError
403

Forbidden - not sufficient access rights to fulfill the request


ResponseError
500

Internal server error - unexpected condition prevents fulfilling the request

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"new_password":"string","password":"string"}' https://{api_host}/appliance/settings/access/database-password


Feedback

Was this page helpful?