{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"**This endpoint allows you to update your current profile details.**\n\nAny one or more of the parameters can be updated via the PATCH `/user/profile` endpoint. You must include at least one when you PATCH.","properties":{"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/UserProfile"}},"required":[],"additionalProperties":false,"definitions":{"UserProfile":{"title":"User: Profile","type":"object","properties":{"address":{"type":"string","description":"The street address for this user profile."},"address2":{"type":"string","description":"An optional second line for the street address of this user profile."},"city":{"type":"string","description":"The city for the user profile."},"company":{"type":"string","description":"That company that this user profile is associated with."},"country":{"type":"string","description":"Th country of this user profile."},"first_name":{"type":"string","description":"The first name of the user."},"last_name":{"type":"string","description":"The last name of the user."},"phone":{"type":"string","description":"The phone number for the user."},"state":{"type":"string","description":"The state for this user."},"website":{"type":"string","description":"The website associated with this user."},"zip":{"type":"string","description":"The zip code for this user."}},"examples":[{"address":"1451 Larimer Street, 3rd floor","address2":"","city":"Denver, CO","company":"SendGrid","country":"US","first_name":"Matthew","last_name":"Bernier","phone":"7208788003","state":"CO","website":"http://sendgrid.com","zip":"80202"}]}}},"name":"Update a user's profile","id":"sendgrid.user.updateprofile","example":{},"maxRequests":1,"summary":false}}