curl --request POST \
--url https://api.bunny.net/mc/registries \
--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"
}Add a container registry for user.
curl --request POST \
--url https://api.bunny.net/mc/registries \
--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?