Hi there!
I'm currently implementing a workflow using a Custom Integration Field, with the write API. I'm following this guide : Integration Fields write API (BETA) | Prismic Help Center
Adding new items or delete some of them works perfectly. However, when I use the /reset
endpoint to delete everything, I doesn't seem to have any effect. The items remain in the catalog.
Here is the request I'm doing:
POST /if/write/beemydesk--workshops/reset HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Authorization: Bearer XXX
Connection: keep-alive
Content-Length: 0
Content-Type: application/json
Host: if-api.prismic.io
User-Agent: HTTPie/2.3.0
And the response I get:
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 0
Content-Type: application/json
Date: Wed, 03 Feb 2021 13:25:04 GMT
X-Amzn-Trace-Id: Root=1-601aa42e-196c938c6d01f1014be51ed3;Sampled=0
x-amz-apigw-id: aK6XWEnJoAMFkqw=
x-amzn-RequestId: b93f288f-f7b6-4e48-97b0-1f30beb224ec
Is it a known issue or do I do something wrong?
Best regards