Deletes an existing namespace. After you delete a namespace, all repositories in the namespace and all images in the repositories are deleted.

Request information

Request line

DELETE /namespace/[Namespace] HTTP/1.1

Request line parameters

Parameter Type Required Description
Namespace String Yes The name of the namespace. The name must be 2 to 30 characters in length, and can contain lowercase letters, digits, hyphens (-), and underscores (_). It must not start with a hyphen or an underscore.

Operation-specific request headers

None.

Request body

None.

Request body parameters

None.

Response information

Response line

HTTP/1.1 200 OK

Operation-specific response headers

None.

Response body

{
    "data":{},
    "requestId":"string"
}

Examples

Sample requests

DELETE /namespace/[Namespace] HTTP/1.1
<Common request headers>

Sample responses

HTTP/1.1 200 OK
<Common response headers>

{
    "data": {},
    "requestId": "CBC151B2-C9B6-4393-9A7F-712C920F1DC7"
}