/api/v1/admin/registries (POST)
POST
/api/v1/admin/registries
const url = 'https://example.com/api/v1/admin/registries';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"registry":"example","username":"example","password":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/admin/registries \ --header 'Content-Type: application/json' \ --data '{ "registry": "example", "username": "example", "password": "example" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
registry
required
string
username
required
string
password
required
null | string
Example generated
{ "registry": "example", "username": "example", "password": "example"}Responses
Section titled “Responses”OK