curl --request PUT \
--url https://api.bunny.net/mc/registries/{registryId} \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"displayName": "<string>",
"type": "DockerHub",
"passwordCredentials": {
"userName": "<string>",
"password": "<string>"
}
}
'{
"id": 123,
"error": "<string>",
"status": "Saved"
}Updates an existing container registry configuration including credentials.
curl --request PUT \
--url https://api.bunny.net/mc/registries/{registryId} \
--header 'AccessKey: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"displayName": "<string>",
"type": "DockerHub",
"passwordCredentials": {
"userName": "<string>",
"password": "<string>"
}
}
'{
"id": 123,
"error": "<string>",
"status": "Saved"
}Please enter a valid personal API key.
Was this page helpful?