Updating the SSL Certificate
Updating the SSL Certificate
Set the values for the custom SSL certificate for OpsManager.
Request
URI
PUT
https://{opsmanager-installation}/api/v0/settings/ssl_certificate
COPY
Request Body
SSLCertificatePut
of type(s)
application/json
Optional
{
"ssl_certificate": {
"certificate": "string",
"private_key": "string"
}
}
ssl_certificate
Optional
ssl_certificate
Responses
200
OK
Returns
SSLCertificatePut
of type(s)
application/json
"SSLCertificatePut Object"
ssl_certificate
Optional
ssl_certificate
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/ssl_certificate
Custom Ssl Certificate Settings Operations
DELETE
Deleting the SSL Certificate
GET
Getting the SSL Certificate
PUT
Updating the SSL Certificate