fix: curl example message for update survey by id (#2405)

Co-authored-by: Shubham Palriwala <spalriwalau@gmail.com>
This commit is contained in:
Stuart Malt
2024-04-08 08:12:59 +01:00
committed by GitHub
parent de82762aeb
commit 425d3819d7

View File

@@ -514,7 +514,7 @@ This set of API can be used to
<CodeGroup title="Request" tag="PUT" label="/api/v1/management/surveys/<survey-id>">
```bash {{ title: 'cURL' }}
curl -X POST https://app.formbricks.com/api/v1/management/surveys/<survey-id> \
curl -X PUT https://app.formbricks.com/api/v1/management/surveys/<survey-id> \
--header 'Content-Type: application/json' \
--header 'x-api-key: <your-api-key>' \
-d '{"name": "My renamed Survey"}'