Update a storage class

Virtual Storage Platform One Object API Reference Guide

Version
3.0.x
File Size
270 KB
Audience
anonymous
Part Number
MK-24VSP1OB002-01

Updates the parameters of a storage class on your system.

Endpoint

POST /storage_class/update

Request structure

{
  "id": "string",
  "name": "string"
}
Parameter Type Description
id String The ID of the storage class.
name String The name of the storage class.

Response structure

{
  "id": "string",
  "name": "string",
  "dataCount": 0,
  "parityCount": 0
}
Parameter Type Description
id String The ID of the storage class.
name String The name of the storage class.
dataCount Integer The number of data fragments of the storage class.
parityCount Integer The number of parity fragments of the storage class.

Return codes

Status code

HTTP name

Description

201 Created The storage class was updated successfully.
default Error An error has occurred while attempting to update the storage class.