Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Minimum string length: 1
Example:

"my-private-registry"

username
string
required

Registry username (write-only, not returned in responses)

Minimum string length: 1
password
string
required

Registry password (write-only, not returned in responses)

Minimum string length: 1

Response

Created

id
string
required
Example:

"reg_abc"

name
string
required
Example:

"my-private-registry"