Change Appliance Certificate

Change Appliance Certificate

Update the appliance certificate. Returns a task to monitor the operation progress.

Request
URI
POST
https://{api_host}/appliance/certificates/server/actions/update
COPY
Request Body

The appliance certificate to be updated.

ChangeCertificateSpec of type(s) application/json
Optional
{
    "selfsigned_format": {
        "common_name": "string",
        "organization": "VMware",
        "organization_unit": "VMware organization unit",
        "fqdn": "string",
        "ip": "10.20.11.15, 10.20.11.26",
        "locality": "Palo Alto",
        "state": "California",
        "country": "US",
        "email": "[email protected]"
    },
    "csr_format": {
        "certificate": "string",
        "ca_chain": [
            {}
        ]
    },
    "credentials": {
        "admin_user": "string",
        "admin_password": "string"
    }
}
object
selfsigned_format
Optional

Data to be used for generating the signing request.

object
csr_format
Optional

Signed certificate data based on a generated CSR.

object
credentials
Optional

Contains credentials information.

Authentication
This operation uses the following authentication methods.
Responses
202

Task to monitor the operation progress.

Returns TaskDrResponseEntity of type(s) application/json
This response body class contains all of the following: InlineTaskDrResponseEntity0 , InlineTaskDrResponseEntity1
"TaskDrResponseEntity Object"

400

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

Returns ResponseError of type(s) application/json
"ResponseError Object"
string
error_code
Optional

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


401

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

Operation doesn't return any data structure

403

Forbidden - not sufficient access rights to fulfill the request

Returns ResponseError of type(s) application/json
"ResponseError Object"
string
error_code
Optional

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


500

Internal server error - unexpected condition prevents fulfilling the request

Returns ResponseError of type(s) application/json
"ResponseError Object"
string
error_code
Optional

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/appliance/certificates/server/actions/update