REST API - update

esx trusted infrastructure kms providers: update

Update an existing provider. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Request:

HTTP request

PATCH https://{server}/api/esx/trusted-infrastructure/kms/providers/{provider}
{
    "native_spec"{
        "key_id""string"
    }
}

Path Parameters

Name Type Description
Required
provider string Identifier of the provider.

Body Parameters:

Name Type Description
bold = required
- update_spec Provider information.
-.native_spec native_provider_update_spec New Configuration for NATIVE provider. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Optional. If unset, provider configuration will remain unchanged.

-.native_spec.key_id string Key identifier for the provider. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Optional. If unset, keyId will remain unchanged.

Response:

HTTP Status Code: 204

Headers:

None

Type:

None

Errors:

HTTP Status Code Type Description
500 error if there is a generic error.
400 invalid_argument if the spec is invalid.
404 not_found if the provider is not found.
401 unauthenticated if the caller is not authenticated.
403 unauthorized if the caller is not authorized.
400 unsupported if the provider's type does not allow updates.