Logo
Akamai APIs API Documentation

Remove an enrollment

DELETE https://{{host}}/cps/v2/enrollments/:enrollmentId

Removes an enrollment from CPS. The response code varies depending on the state of the enrollment. Deleting an enrollment in the future, or deleting when the enrollment has a certificate deployed to the network, may result in a 202 response. Deleting an enrollment that hasn't yet deployed any certificate to the network responds immediately with a 200 code.

 

Body PARAM

Key Datatype Required Description 
allow-cancel-pending-changes
string (Optional) Cancels all pending changes when updating an enrollment.
deploy-not-after
string (Optional) Don't deploy after this date (UTC).
deploy-not-before
string (Optional) Don't deploy before this date (UTC).
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "changes": [ "/cps/v2/enrollments/10002/changes/10002" ], "enrollment": "/cps/v2/enrollments/10002" }



Curl
curl -X DELETE 'https://undefined/cps/v2/enrollments/:enrollmentId?allow-cancel-pending-changes=&deploy-not-after=&deploy-not-before=&accountSwitchKey=' -H 'Accept: application/vnd.akamai.cps.enrollment-status.v1+json'

ENDPOINTS