Contacts API - Lists
Elements that can be shared among more than one endpoint definition.
Update a List
PATCH /v3/contactdb/lists/{list_id}
Base url: https://api.sendgrid.com
This endpoint allows you to update the name of one of your recipient lists.
Authentication
- API Key
Headers
Request Body
The new name for your list.
{
"name": "newlistname"
}
Path Parameters
Query String
The ID of the list you are updating.
default: NoneResponses
The ID of the list
The new name for the list
The number of recipients on the list
the error message
the field that generated the error
helper text or docs for troubleshooting
{
"errors": [
{
"field": "field_name",
"message": "error message"
}
]
}
the error message
the field that generated the error
helper text or docs for troubleshooting
{
"errors": [
{
"field": "field_name",
"message": "error message"
}
]
}
Need some help?
We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the SendGrid tag on Stack Overflow.