Remove one or multiple endpoints from a URL Group. If all endpoints have been removed, the URL Group will be deleted.
Request
The name of your URL Group. If it doesn’t exist, we return an error.
The endpoints to be removed from to the URL Group.
Either name
or url
must be provided
Response
This endpoint simply returns 200 OK if the endpoints have been removed successfully.
curl -XDELETE https://qstash.upstash.io/v2/topics/:urlGroupName/endpoints \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"endpoints": [
{
"name": "endpoint1",
},
{
"url": "https://somewhere-else.com"
}
]
}'