PATCH ./certificates/{id}

  • The PATCH endpoint is used to update an existing certificate. The {id} parameter is required and should be the ID of the certificate to update. The PATCH endpoint accepts the following parameters:

PATCH parameters

NameValue TypeValidationDetails
cerDate(string)OptionalThe date of the certificate in RFC format. This field is optional.
cerNumber(integer)OptionalThe number of the certificate. This field is optional.
cerReason(string)OptionalThe reason for the certificate. This field is optional.
cerShowLogo(boolean)OptionalWhether to show the logo or not. This field is optional.
cerDiplomaBackground(string)OptionalThe background of the diploma. This field is optional.
  • The response is the updated certificate data. If the update is successful, the response will be the updated certificate data. If an error occurs during the update, the function will return an error message.

Output example

{
"success": true
}