enclosure.label.set

Set a user-defined label for the enclosure identified by id.

A JSON-RPC error response (code -32602, Invalid params) is returned when no enclosure with the given id exists.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: id

id

Type: string

Enclosure identifier to set the label for.

Parameter 2: label

label

Type: string

New label to assign to the enclosure.

Result

Type: null

Returns null when the enclosure label is successfully updated.



Required roles: ENCLOSURE_WRITE