PUT
Update send label
Updates an address send label by the specified id.
The token must hold one of user_manage, wallet_manage_all, or enterprise_manage_all;
a token without one of them receives 401.
Path Params
-
idstring requiredThe ID of the send label
Body Params
object
Update Send Label Request Body
The request body for updating a send label: the new label text for the address.
-
labelstring requiredThe new human-readable label for the address.
Must be between 1 and 250 characters.
Responses
200
OK
Response Body
object
A send label: a human-readable name attached to an address for a coin within an enterprise.
-
idstring requiredThe ID of the send label -
coinstring requiredThe coin the label applies to. Tokens are stored under their underlying chain -
addressstring requiredThe labelled address -
enterpriseIdstring requiredThe ID of the enterprise the label belongs to -
labelstring requiredThe human-readable label for the address
400
Bad Request
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
401
Unauthorized
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
403
Forbidden
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
404
Not Found
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id