Set serial number

Content Platform for Cloud Scale Management API Reference

Version
2.5.x
Audience
anonymous
Part Number
MK-HCPCS007-08

The method serial_number/set sets the serial number of the HCP for cloud scale system. You must provide a valid serial number for the system to function.

HTTP request syntax (URI)

POST https://host_ip:9099/mapi/v1/serial_number/set

Request structure

The request body is:

{
  "value": "serial_number"
}
Parameter Required Type Description
value Yes String The serial number of your HCP for cloud scale system.

Response structure

The response returns the same parameter as the request.

Return codes

Status code

HTTP name

Description

200 OK The request was executed successfully.
401 Unauthorized Access was denied because credentials were noit valid.
405 Method Not Allowed The specified HTTP method is not allowed for administrative data. Resend using POST.

Example

Request example:

POST https://10.10.24.195:9099/mapi/v1/serial_number/set

JSON request:

{
  "value": "SerialNumber48692"
}

JSON response:

{
  "value": "SerialNumber48692"
}