Skip to main content
PATCH
/
cloud
/
v1
/
caas
/
secrets
/
{project_id}
/
{region_id}
/
{secret_name}
Update pull secret
curl --request PATCH \
  --url https://api.gcore.com/cloud/v1/caas/secrets/{project_id}/{region_id}/{secret_name} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "login": "login",
  "password": "password",
  "registry": "some.registry.com"
}
'
{
  "login": "<string>",
  "name": "<string>",
  "registry": "<string>",
  "updated_at": "<string>"
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

project_id
integer
required

Project ID

region_id
integer
required

Region ID

secret_name
string
required

Pull secret name

Body

application/json
login
string | null

Pull secret login

Required string length: 1 - 100
Example:

"login"

password
string<password> | null

Pull secret password

Required string length: 1 - 5000
Example:

"password"

registry
string | null

Pull secret registry

Required string length: 1 - 400
Example:

"some.registry.com"

Response

Pull secret

login
string
required

Pull secret login

name
string
required

Pull secret name

registry
string
required

Pull secret registry

updated_at
string
required

Pull secret updated at