Skip to main content

Enable / disable a certificate

Log in to add to favourites
PATCH/api/management/certificates/{certificateId}

Parameter

NameParameter typeTypeFormatDescription
certificateId(required)pathstringguidThe certificate identifier

Responses

HTTP status codeReasonModel
200Success
401UnauthorizedError
403ForbiddenError
404Certificate not found
500Internal server errorError

Examples

Enable a certificate

HTTP
PATCH: /api/management/certificates/fe1e4cad-bfb8-47b3-beea-c5e9d978f019
{
	"status": "enabled"
}

Disable a certificate

HTTP
PATCH: /api/management/certificates/fe1e4cad-bfb8-47b3-beea-c5e9d978f019
{
	"status": "disabled"
}

Remarks

Disabling a certificate will immediatley remove the certificate from your site. If you want to avoid time without a certificate upload your new certificate first. 

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request