Unable to delete identity namespace

Learn how to delete identity namespace by renaming it as do_not_use or anything which distinguishes it from the others for the architects to identify or reset the Sandbox.

Description description

Environment

Adobe Experience Platform (AEP)

Issue

While setting up the PROD sandbox for Blank Company, there were a few custom identity namespaces created. Given the fact that  there are API’s to create and update a namespace, it appears that a delete request isn’t allowed.

curl --location --request DELETE 'https://platform.adobe.io/data/core/idnamespace/identities/199999999' \

    --header 'Authorization: Bearer <>' \

    --header 'x-api-key: ccb768867530986753091476f828' \

    --header 'x-gw-ims-org-id:<b></b><b></b>*'

response

{

    "timestamp": "2022-03-03T13:47:45.800",

    "status": 401,

    "error": "CLIENT_ID_NOT_AUTHORIZED",

    "description": "Client Id not authorized/whitelisted to call Delete API",

    "type": "http://ns.adobe.com/adobecloud/problem/namespacevalidation",

    "title": "Namespace validation",

    "report": {

    "code": "CLIENT_ID_NOT_AUTHORIZED"

    }

    }

How can the whitelist be enabled to delete the namespace which is not used for the profile?

Resolution resolution

Identity namespace can’t be deleted. It’s an Enhancement request which doesn’t yet have a release date.

The workaround is to rename them as do_not_use or anything which distinguishes them from the others for the architects to identify, or reset the Sandbox.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f