partialUpdateLabel(labelId: string, data: PatchedAddressLabel)
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
Name | Type | Description | Optional |
---|---|---|---|
labelId | string | ID of the label | No |
data | PatchedAddressLabel | Fields to update | No |
labelId: string
{
id?: string;
address?: string;
name?: string;
}
Response
{
id?: string;
address: string;
name: string;
}