GET Enrollment Available Renewal Thumbprint
The GET /Enrollment/AvailableRenewal/Thumbprint/{thumbprint} method is used to check a specific certificate by thumbprint to determine which renewal types are supported, if any. This method or the GET /Enrollment/AvailableRenewal/ID method can be used before using the POST /Enrollment/Renew method to make a determination as to which fields need to be submitted, depending on whether one-click renewal is supported. This method returns HTTP 200 OK on a success with the supported renewal type.
At either the global or collection level. See note under CollectionId, below.
Table 328: GET Enrollment Available Renewal Thumbprint {thumbprint} Input Parameters
Name | In | Description |
---|---|---|
thumbprint | Path |
Required. The thumbprint of the certificate on which to check the renewal status. Use the GET /Certificates method to determine the certificate thumbprint. This information is also available in the certificate details for a certificate in the Keyfactor Command Management Portal. |
CollectionId | Query |
An integer specifying an optional certificate collection identifier to validate that the user executing the request has sufficient permissions to do so. If a certificate collection ID is not supplied, the user must have global permissions to complete the action. Supplying a certificate collection ID allows for a check of the user's certificate collection-level permissions to determine whether the user has sufficient permissions at a collection level to complete the action. See Certificate Permissions in the Keyfactor Command Reference Guide for more information. |
Table 329: GET Enrollment Available Renewal Thumbprint {thumbprint} Response Body
Name | Description |
---|---|
AvailableRenewalType |
An integer indicating the supported renewal type. Tip: If the AvailableRenewalType is 2, 1 is also supported for the certificate.
|
Message | A message providing more details about the available renewal type result (e.g. "One click renewal is not available for this certificate. Template does not have PFX enrollment enabled."). |
