/v3/grants/{grant_id}/drafts/{draft_id}Update a draft
Updates the specified draft.
When you make a PUT request, Nylas replaces all data in the nested object with the information
included in your request. For more information, see
Updating objects.
Path parameters
ID of the draft to access. Nylas recommends you URL-encode this field, or you might receive a
404 error if the ID contains special characters (for
example, #).
Query parameters
Specify fields that you want Nylas to return, as a comma-separated list (for example,
select=id,updated_at). This allows you to receive only the portion of object data that you're
interested in. You can use select to optimize response size and reduce latency by limiting queries
to only the information that you need.
attachmentsAn array of file attachments to include in the draft. You can use either the application/json or multipart/form-data schema, depending on attachment size. The application/json format is limited to 3MB including the message body, and the content must be Base64 encoded. The multipart/form-data format size is limited by the provider to 25MB. See Attachments for more information.