Changing the Decryption Passphrase
Changing the Decryption Passphrase
Changing the Decryption Passphrase
Request
URI
PUT
https://{opsmanager-installation}/api/v0/settings/decryption_passphrase
COPY
Request Body
DecryptionPassphrase
of type(s)
application/json
Optional
{
"decryption_passphrase": {
"current_passphrase": "string",
"new_passphrase": "string",
"new_passphrase_confirmation": "string"
}
}
decryption_passphrase
Optional
decryption_passphrase
Responses
200
OK
Returns
EmptyResponse
of type(s)
application/json
Operation doesn't return any data structure
400
Setup is not completed
Returns
RequireSetupCompleted
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
401
Unauthorized
Returns
UnauthorizedResponse
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
403
Forbidden
Returns
ForbiddenResponse
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
422
Unprocessable Content
Returns
NestedErrorsResponseVariant
of type(s)
application/json
{
"errors": {
"errors": [
"string"
]
}
}
object
errors
Optional
errors
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/api/v0/settings/decryption_passphrase
Decrypt Operations
PUT
Changing the Decryption Passphrase
PUT
Decrypt with the encryption passphrase