{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Renames or recolors a label. Omitted fields keep their current value. A new name must not match another label on the inbox, compared without case, or the request returns a 422 validation_error.","properties":{"path":{"type":"object","properties":{"inbox_id":{"type":"string","examples":["b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1"],"description":"The Inbox ID or the inbox email address, such as `support@acme.com`. A value that contains `@` must be a valid email address, and any other value must be a UUID, or the request returns a 422. The address match is case-insensitive and never falls back to the inbox `name`. An address that matches no inbox returns a 404."},"label_id":{"type":"string","format":"uuid","description":"The Label ID."}},"required":["inbox_id","label_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/UpdateInboxLabelOptions"}},"required":["path"],"additionalProperties":false,"definitions":{"UpdateInboxLabelOptions":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":64,"description":"A new name for the label. Max 64 characters. Leading and trailing whitespace is trimmed. Must not match another label on the inbox, compared without case.","examples":["Billing"]},"color":{"type":"string","pattern":"^#[0-9A-Fa-f]{6}$","description":"A new color for the label, as a `#RRGGBB` hex color. It is stored in uppercase.","examples":["#F76B15"]}}}}},"name":"Update an existing inbox label","id":"resend.inboxes.update-label","example":{"path":{"inbox_id":"b3e2b2b6-3f0e-4c8e-9ad3-2f43a1e2c7f1","label_id":"00000000-0000-4000-8000-000000000000"}},"maxRequests":1,"summary":false}}