DELETE /orgs/{oid}/projects/{pid}
Summary
- Method:
DELETE
- Response Code:
204 / 200
- Response Formats:
application/xml
application/json
- Since:
UForge 1.0
Removes a project from the Project Catalog
.
The project is not physically deleted from the database but marked as "obsolete". Users will no longer be able to use this project in an appliance, however ensures that appliances currently using the project are not adversely affected.
Note
To force the physical deletion of a project, use the erase
query parameter. In this case all the binaries and meta-data of a project are deleted.
- Requires Authentication:
true
- Entitlements Required:
org_projects_administrate
pid
(required): the id of theproject-object
oid
(required): the id of theorg-object
None
curl "https://uforge.example.com/api/orgs/{oid}/projects/{pid}" -X DELETE \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
project-object
projectArtifact-addChild
projectArtifact-addOrRemoveFileFromCache
projectArtifact-create
projectArtifact-createFromRemoteServer
projectArtifact-delete
projectArtifact-deleteAll
projectArtifact-download
projectArtifact-downloadFile
projectArtifact-get
projectArtifact-getAll
projectArtifact-update
projectArtifact-updateAll
projectArtifact-upload
projectLogo-delete
projectLogo-download
projectLogo-downloadFile
projectLogo-upload
projectRestrictionOS-evaluate
projectRestriction-update
project-availableForImage
project-create
project-get
project-getAll
project-update