Partially Update a Label

partialUpdateLabel(labelId: string, data: PatchedAddressLabel)

Description

Partially update a custom label, by only modifying the fields listed in the request

  • OpenPool API Endpoint: PATCH:/label/custom/{id}/

Parameters

NameTypeDescriptionOptional
labelIdstringID of the labelNo
dataPatchedAddressLabelFields to updateNo
labelId: string
{
	id?: string;
	address?: string;
	name?: string;
}

Response

 {
	id?: string;
	address: string;
	name: string;
}