All Products
Search
Document Center

Delete a namespace

Last Updated: May 28, 2018

Description

Delete an existing namespace. This operation also deletes all images in the repositories and repositories of this namespace.

Request information

Request line

  1. DELETE /namespace/{Namespace} HTTP/1.1

Request line parameters (URI parameters)

Name Type Required Description
Namespace String Yes The name of the namespace to be deleted. The name can be 2-30 characters in length, and contain lowercase letters, numbers, hyphens (-), and underscores (_). The name cannot start with hyphens and underscores.

Special request header

None.

Request body

None.

Request body explanation

None.

Response information

Response line

  1. HTTP/1.1 200 OK

Special response header

None.

Response body

  1. {
  2. "data":{},
  3. "requestId":"string"
  4. }

Example

Request example

  1. DELETE /namespace/aliyun HTTP/1.1
  2. <Common request header>

Response example

  1. HTTP/1.1 200 OK
  2. <Common response header>
  3. {
  4. "data": {},
  5. "requestId": "CBC151B2-C9B6-4393-9A7F-712C920F1DC7"
  6. }