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.

Path Parameters

org_id
string
required

The ID of the organization

Body

application/json
host
string
required

Registry host; normalized on create (docker.io aliases become index.docker.io)

username
string
required
purpose
enum<string>
default:both
Available options:
pull,
push,
both
password
string<password>
write-only

Required on create; omit on update to keep the stored password

Response

Registry credential created successfully

host
string
required

Registry host; normalized on create (docker.io aliases become index.docker.io)

username
string
required
id
string
read-only
purpose
enum<string>
default:both
Available options:
pull,
push,
both
organisation_id
string
read-only
created_at
string<date-time>
read-only
updated_at
string<date-time>
read-only