Use the DELETE /keyPairs/signing/{{keyPairSigningId}} endpoint to delete a key pair. If the request is successful, the response body is empty. If the request fails, an ApiResult is returned with details of the error.

Path parameters

Parameter Value Description
keyPairSigningId string(required) ID of the key pair to delete.

Status codes

Code Reason
204 Key Pair deleted.
404 Resource not found.
422 Resource is in use and cannot be deleted.

ApiResult - Details on the result of the operation.

Property Type Description
developerMessage string Developer-oriented error message, if available.
message string Success or error message.
resultId string Result identifier.
validationErrors array[ValidationError] List of validation errors, if any.

ValidationError - A data input validation error.

Property Type Description
developerMessage string Developer-oriented error message, if available.
errorId string Error identifier.
fieldPath string The path to the model field to which the error relates, if one exists.
message string User-friendly error description.