Manage Grants
Create or replace a grant setting
Changed onCreates the setting, or replaces it if it already exists. Send the value under the same key as setting_name. You don't need to know whether the grant already has a value, and retrying the same request is safe. What each setting accepts is in the request body schema.
put/v3/grants/{grant_id}/settings/{setting_name}
Request
- Base URLhttps://api.us.nylas.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
OK
Example response
{
"data": {
"synced-calendars": [
"jane@example.com",
"c_3a7d1e5b@group.calendar.google.com"
]
}
}Changes
- info
endpoint added
- info