esx attestation tpm2 settings: update
Set the TPM 2.0 protocol settings.
Request:
HTTP request
PATCH https://{server}/api/esx/attestation/tpm2/settings
{
"require_endorsement_keys" : true,
"require_certificate_validation" : true
}
"require_endorsement_keys" : true,
"require_certificate_validation" : true
}
Body Parameters:
| Name | Type | Description |
|---|---|---|
| bold = required | ||
| - | update_spec | The settings. |
| -.require_endorsement_keys | boolean | Require registered TPM endorsement keys. Optional. If unset the current state will remain unchanged. |
| -.require_certificate_validation | boolean | Require TPM endorsement key certificate validation. Optional. If unset the current state will remain unchanged. |
Response:
HTTP Status Code: 204
Headers:
NoneType:
NoneErrors:
| HTTP Status Code | Type | Description |
|---|---|---|
| 500 | error | if there is a generic error. |
| 400 | invalid_argument | if the spec is invalid. |
| 401 | unauthenticated | if the caller is not authenticated. |
| 403 | unauthorized | if the caller is not authorized. |