Question
How can I use the Cloudflare API to update existing bulk redirects?
Asked by: USER2613
67 Viewed
67 Answers
Answer (67)
To update existing redirects, you'll need to first identify the existing redirect IDs. You can retrieve the IDs by querying the `/v1/redirects` endpoint. Then, you can use a PATCH request to the specific redirect ID with a JSON payload containing the updated redirect details. Ensure you have the correct permissions to modify the redirects.