How to delete a project key

VickeyC
VickeyC Registered Posts: 27 ✭✭✭✭

I'm trying to import a project that has been previously deleted, but I'm unable to because the project key still exists. How do I delete the project key?


Operating system used: RHEL 7.9

Tagged:

Answers

  • Zach
    Zach Dataiker, Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 153 Dataiker
    edited July 17

    Hi @VickeyC
    ,

    Normally when a project is deleted, the key can be reused. Are you sure that the project has actually been deleted?

    If you're not a DSS administrator, you can only see projects that you have access to. In this case, please check with an administrator to verify if the project exists.

    It's also possible that there's an existing project that is using the key, but has a different display name. You can run the following code in a Python notebook to list all existing projects and show their keys & names. The notebook must be created by a DSS administrator; otherwise it will only list projects that you have access to.

    import dataiku
    
    client = dataiku.api_client()
    
    for project in client.list_projects():
        print("Key:", project["projectKey"])
        print("Display name:", project["name"])
        print("")

    Thanks,

    Zach

Setup Info
    Tags
      Help me…