POST
/
cloud
/
v2
/
inference
/
registries
curl --request POST \
  --url https://api.gcore.com/cloud/v2/inference/registries \
  --header 'APIKey: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "My Registry",
  "password": "mypassword",
  "project_id": 1,
  "url": "docker.io",
  "username": "myusername"
}'
{
  "created_at": "2023-01-20T00:00:00Z",
  "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "name": "My Registry",
  "url": "docker.io",
  "username": "myusername"
}

Authorizations

APIKey
string
header
required

API key for authentication.

Body

application/json

Response

200
application/json

Registry

The response is of type object.