Getting the configured Serial Numbers

Getting the configured Serial Numbers
Getting the configured Serial Numbers

Deprecated: This exists for compatibility. Serial Numbers are no longer supported or configurable.

Request
URI
GET
https://{opsmanager-installation}/api/v0/settings/serial_numbers
COPY
Responses
200

OK

Returns SerialNumbers of type(s) application/json
{
    "serial_numbers": [
        {
            "serial_number": "string",
            "description": "string"
        }
    ]
}
array of serial_numbers
serial_numbers
Required

A list of serial numbers


400

Setup is not completed

Returns RequireSetupCompleted of type(s) application/json
{
    "errors": {
        "errors": [
            "string"
        ]
    }
}

401

Unauthorized

Returns UnauthorizedResponse of type(s) application/json
{
    "errors": {
        "errors": [
            "string"
        ]
    }
}

403

Forbidden

Returns ForbiddenResponse of type(s) application/json
{
    "errors": {
        "errors": [
            "string"
        ]
    }
}

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/v0/settings/serial_numbers