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.

Changes

Changed in 4 of the 90 revisions of this API.428

  • edcf92c1de6512See the full diff
    • removed the success response with the status 202

      response-success-status-removed

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the success response with the status 200

      response-success-status-added

    • removed the success response with the status 200

      response-success-status-removed

    • added the success response with the status 202

      response-success-status-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 90356f383b7c224See the full diff
    • removed the enum value bmc-root of the request property kind

      request-property-enum-value-removed

    • removed the enum value site-wide-root of the request property kind

      request-property-enum-value-removed

    • added the new BMCRoot enum value to the kind response property for the response status 200

      response-property-enum-value-added

    • added the new SiteWideRoot enum value to the kind response property for the response status 200

      response-property-enum-value-added

    • added the new BMCRoot enum value to the request property kind

      request-property-enum-value-added

    • added the new SiteWideRoot enum value to the request property kind

      request-property-enum-value-added

    • removed the bmc-root enum value from the kind response property for the response status 200

      response-property-enum-value-removed

    • removed the site-wide-root enum value from the kind response property for the response status 200

      response-property-enum-value-removed

    • endpoint added

      endpoint-added