v1
Double column
API
CLI
JS Client
API
CLI
JS Client

POST /v1/registry-credentials/{credentialId}/modify

Example request

Request body

curl
curl --header "Content-Type: application/json" \
  --header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
  --request POST \
  --data '{"description":"This is a set of saved credentials.","restrictions":{"restricted":true,"projects":["default-project"]},"data":{"auths":{"https://index.docker.io/v1/":{"auth":"[YOUR AUTH KEY]"}}}}' \
  https://api.northflank.com/v1/registry-credentials/{credentialId}/modify

Example response

200 OK

The operation was performed successfully.

JSON

{
  "data": {}
}

© 2021 Northflank Ltd. All rights reserved.