Delete an Organization
You will typically rarely (if ever) need to delete a Coveo organization, unless you originally created this organization for a specific purpose such as testing, and this purpose is now finished. In such a case, you may delete the obsolete organization.
Deleting a Coveo organization is permanent. Make sure you know what you’re doing before you perform this call.
DELETE https://platform.cloud.coveo.com/rest/organizations/<MyOrganizationId> HTTP/1.1 Accept: application/json Authorization: Bearer <MyAccessToken>
In the request path:
<MyOrganizationId>with the actual ID of the target Coveo organization (see Retrieve the Organization ID).
Authorization HTTP header:
<MyAccessToken>with an access token that grants the privilege to edit the target Coveo organization (i.e., the Edit access level on the Organization domain) (see Create an API Key, Manage Privileges, Get the Privileges of an Access Token, and Get Your Coveo Platform Access Token).
A successful response (
204 No Content) signifies that the target Coveo organization no longer exists in the Coveo Platform.
Request - Deleting the mycoveocloudv2organizationg8tp8wu3 organization
DELETE https://platform.cloud.coveo.com/rest/organizations/mycoveocloudv2organizationg8tp8wu3 HTTP/1.1 Accept: application/json Authorization: Bearer **********-****-****-****-************
Successful response - 204 No Content