Hide

RegistryUI Documentation

Display
Print

/udr/v1api/folder

EndpointMethodDescription
/udr/v1api/folderDELETERemoves a folder/repository.

Authentication

Basic Authorization header required. The specified user must have administrator privileges.

Query String Arguments

ArgumentTypeDescription
pathstringDefines the full path of the folder/repository to be deleted.

Any folder, projects and repositories specified by path and all subfolders with projects and repositories are removed.

Response

A JSON object is returned. If an error occurs, the "error" field will contain a descriptive error message (see Standard API Response).

FieldTypeDescription
databoolContains true indicating that the path and all subfolders with projects and repositories have been removed.

Example

curl -u username:usertoken -X DELETE https://registry.yoursite.com/udr/v1api/folder?path=mysql

Response:
{
    "error": null,
    "data": true
}