DELETE ./certificates/{id}

  • The delete endpoint is defined as a method in the Certificates controller. It is used to delete a certificate by its ID.

Output example

  • If the deletion is successful, it returns an array with a 'success' key set to true.
  • If an exception occurred during the deletion, it returns an array with a 'success' key set to false.
  • If the user does not have sufficient permissions, it returns false.
{
"success": true
}