{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"**This endpoint allows you to update a sender identity.**\n\nUpdates to `from.email` require re-verification.\n\nPartial updates are allowed, but fields that are marked as \"required\" in the POST (create) endpoint must not be nil if that field is included in the PATCH request.","properties":{"path":{"type":"object","properties":{"sender_id":{"type":"integer","description":"The ID of the sender identity that you want to retrieve."}},"required":["sender_id"],"additionalProperties":false},"headers":{"type":"object","properties":{"on-behalf-of":{"type":"string","description":"The `on-behalf-of` header allows you to make API calls from a parent account on behalf of the parent's Subusers or customer accounts. You will use the parent account's API key when using this header. When making a call on behalf of a customer account, the property value should be \"account-id\" followed by the customer account's ID (e.g., `on-behalf-of: account-id <account-id>`). When making a call on behalf of a Subuser, the property value should be the Subuser's username (e.g., `on-behalf-of: <subuser-username>`). See [**On Behalf Of**](https://docs.sendgrid.com/api-reference/how-to-use-the-sendgrid-v3-api/on-behalf-of) for more information."}},"required":[],"additionalProperties":false},"body":{"$ref":"#/definitions/SenderIdRequest"}},"required":["path"],"additionalProperties":false,"definitions":{"SenderIdRequest":{"title":"Sender ID Request","type":"object","properties":{"nickname":{"type":"string","description":"A nickname for the sender identity. Not used for sending."},"from":{"type":"object","properties":{"email":{"type":"string","description":"The email address from which your recipient will receive emails."},"name":{"type":"string","description":"The name appended to the from email field. Typically your name or company name."}}},"reply_to":{"type":"object","properties":{"email":{"type":"string","description":"The email address to which your recipient will reply."},"name":{"type":"string","description":"The name appended to the reply to email field. Typically your name or company name."}}},"address":{"type":"string","description":"The physical address of the sender identity."},"address_2":{"type":"string","description":"Additional sender identity address information."},"city":{"type":"string","description":"The city of the sender identity."},"state":{"type":"string","description":"The state of the sender identity."},"zip":{"type":"string","description":"The zipcode of the sender identity."},"country":{"type":"string","description":"The country of the sender identity."}},"examples":[{"nickname":"My Sender ID","from":{"email":"from@example.com","name":"Example INC"},"reply_to":{"email":"replyto@example.com","name":"Example INC"},"address":"123 Elm St.","address_2":"Apt. 456","city":"Denver","state":"Colorado","zip":"80202","country":"United States"}]}}},"name":"Update a Sender Identity","id":"sendgrid.lmc_senders.updatesender","example":{"path":{"sender_id":1}},"maxRequests":1,"summary":false}}