Update Label
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/labels/string" \ -H "Content-Type: application/json" \ -d '{ "name": "Amis proches", "color": "#ef4444" }'{ "status": 0, "message": "string", "data": { "id": "string", "userId": "string", "name": "string", "color": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }, "type": "string", "code": "string"}