Delete certificate
Deletes a certificate for your tenant.
POST/api/servers/{server}/sites/{site}/tenants/{tenant}/revoke-certificate
Revoke a certificate
Revokes the SSL certificate for the specified tenant.
Required attributes
- Name
webhook- Type
- string
- Description
A URL that will be triggered by Ploi (POST) once certificate is revoked and finished all setup.
Request
POST
/api/servers/{server}/sites/{site}/tenants/{tenant}/revoke-certificatecurl -X POST "https://ploi.io/api/servers/{server}/sites/{site}/tenants/example.com/revoke-certificate" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"webhook": "https://example.com/webhook"
}'
Response
HTTP/1.1 200 OK
Content-Type: application/json