Skip to main content
Monitoring & Collection/Hardware

CreateHardwareTarget

Register a disabled Hardware Target, optionally from a currently active Discovery source. Protocol must be registered and match the credential type. Requires a platform administrator. A source already attached to a Target returns that Target; otherwise a matching BMC endpoint only adds the source without overwriting configuration or enabled state. Manual duplicates return a conflict with the existing Target UUID.

POST/api/v1/hardware/targets

Operation ID

CreateHardwareTarget

Since

1.3.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

application/json

Body Fields

Complete editable fields. tls_verify defaults to true on creation. Unknown fields are rejected. Credentials are references, never inline secrets.

Request body root type: object

Responses

200 OK

A successful response.

Content-Type: application/json

Response body root type: object

  • uuid
    String

    UUID of the created or updated Hardware Target.

    Example: value

  • enabled
    Boolean

    Enabled for this resource

    Example: false

  • resourceRevision
    String

    Resource revision for this resource

    Example: 10

    {"format":"int64"}

  • collectionRevision
    String

    Collection revision for this resource

    Example: 10

    {"format":"int64"}

  • controlStatus
    String

    Control status for this resource

    Example: value

  • sourceAttached
    Boolean

    Source attached for this resource

    Example: false