API referenceCustom moments
Stop a shadow
Stops the version running in shadow without promoting it. The version returns to draft, the moments it already detected stay for the comparison, and live conversations stop reading it within seconds. Stopping a version that is not in shadow changes nothing.
Authorization
apiKey X-API-Key<token>
API key (prefix spk_test_ or spk_live_) or personal access token (prefix pat_)
In: header
Path Parameters
id*string
Custom moment ID
n*integer
The version
Format
int64Range
1 <= valueResponse Body
application/json
curl -X DELETE "https://example.com/moments/mdef_2jxsy8cc8v0348asy6t1/versions/1/shadow"Empty