Integrations /
Update registry
Updates a set of registry credential data.
Required permission
Account > Credentials > General > Update
Path parameters
credentialId
string requiredID of the registry credential
Request body
- {object}
credentials
{object}username
stringUsername for the docker registry. Required when `integrationId` is provided.password
stringPassword for the docker registry. Required when `integrationId` is provided.scope
{object} requiredpull
booleanWhether the credentials can pull images.push
booleanWhether the credentials can push images.restrictions
{object}restricted
boolean requiredWhether access to this credential is restricted.projects
[array]List of projects that have access to this credential.- string
updatedAt
stringtime of updatecreatedAt
stringtime of creation
Response body
- {object}Response object.
data
{object} requiredResult data.
API
CLI
JS Client
PATCH /v1/integrations/registries/{credentialId}
Example request
Request body
curl
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
--request PATCH \
--data 'undefined' \
https://api.northflank.com/v1/integrations/registries/{credentialId}
Example response
200 OK
The operation was performed successfully.
JSON
{
"data": {}
}