ARTIFACTORY: How to delete a JFrog project when resources(repositories) are assigned to it

Amith Kumar Mutakari
2023-01-22 11:09

In this article, we will learn how to unassign the repositories from a JFrog Project and delete the project.

Platform Admins can delete a project that does not contain any assigned or available resources. 

To delete a project,  we need to follow the below steps:

  • Make sure all the repositories specific to the project are reassigned to another project or unassign the project from a repository
  • Delete the project from Artifactory UI or via this REST API call

If you choose to unassign the repositories from a project, then use the following steps:

1. How to unassign the repository from a project:

  We need to run the following REST API to unassign the repository from a project:  $ curl --location --request DELETE \

  --header 'Authorization: Bearer <valid token>' -vvv
2. We need to make sure no repositories are part of the project and then delete the project from Artifactory UI or REST API.