v57

latestOpenAPI 3.1.0Apache-2.0raw.githubusercontent.com2026-08-012143051018.3 KB
BMC Credential

Create Or Update BMC Credential

Create or update a site-wide or per-BMC root credential. Equivalent to nico-admin-cli credential add-bmc.

User must have authorization role with PROVIDER_ADMIN suffix.

put/v2/org/{org}/nico/credential/bmc

Request body

siteIdstring uuid required

ID of the Site where the credential is stored.

kind'SiteWideRoot' | 'BMCRoot' required

Which BMC credential to store.

passwordstring required

Credential password.

usernamestring

Optional username; Core defaults to "root" for BMCRoot when omitted.

macAddressstring

BMC MAC address. Required for kind BMCRoot, ignored for SiteWideRoot.

Response

BMC credential was created or updated

siteIdstring uuid required

ID of the Site where the credential is stored.

kind'SiteWideRoot' | 'BMCRoot' required

Which BMC credential was stored.

usernamestring

Optional username; Core defaults to "root" for BMCRoot when omitted.

macAddressstring

BMC MAC address. Required for kind BMCRoot, ignored for SiteWideRoot.