Restore a deleted endpoint
Puts the endpoint back as it was: the same capture URL, switched on or off as it was, with its stored requests, actions, transformation rules and watchdogs, and its own expiry if it was temporary. Deliveries that were waiting when it was deleted were cancelled and are not resumed; replay them. A switched-on endpoint needs a free endpoint slot on the plan (409 limit_reached).
Authorization
apiKey API key in the Authorization header: Authorization: Bearer wv_live_…. Keys are created on the API keys page in the app, shown once, and scoped to your workspace. A key acts for the person who created it: each call needs the operation's scope (x-wv-scope) and is limited to what that person's role allows now. X-Api-Key: wv_live_… is accepted as a fallback for tools that can't set Authorization.
In: header
Path Parameters
uuidQuery Parameters
true runs the operation and then undoes it: nothing is stored, sent or queued. A call that would be refused answers exactly as it would without dryRun; one that would succeed answers 200 with dryRun, the status it would have returned, a plain-language summary of what it would do, and the result it would have returned. A dry run never needs approval.
falseHeader Parameters
1 to 255 printable ASCII characters you choose, kept 24 hours per key. Sending the same request again with the same value returns the first answer (with Idempotent-Replayed: true) instead of running again. The same value with a different request is 422 idempotency_key_reused; while the first is still running, 409 idempotency_in_progress.
length <= 255The approval a 202 approval_required answer gave. Send exactly the same request again (method, path, query and body) with this header once the person has approved: it runs once. Refusals: 404 approval_not_found, 409 approval_pending, approval_declined, approval_expired or approval_used, 422 approval_mismatch (a different request), 412 version_mismatch (the target changed after the approval was asked), 409 reach_changed (the change now reaches more than the person approved).
uuidResponse Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"url": "string",
"isActive": true,
"suspendedByPlan": true,
"createdAt": "2019-08-24T14:15:22Z",
"lastRequestAt": "2019-08-24T14:15:22Z",
"expiresAt": "2019-08-24T14:15:22Z",
"storedRequestCount": 0,
"responseStatusCode": 0,
"responseContentType": "string",
"responseHeaders": {
"property1": "string",
"property2": "string"
},
"responseBody": "string",
"provider": "string",
"forwardingEnabled": true,
"forwardUrl": "string",
"forwardSigning": {
"signed": true,
"setAt": "2019-08-24T14:15:22Z"
},
"verification": {
"source": "preset",
"scheme": "string",
"family": "string",
"secretLabel": "string",
"secretSet": true,
"secretSetAt": "2019-08-24T14:15:22Z",
"handshakeTokenSet": true,
"handshakeTokenNeeded": true,
"manual": {
"header": "string",
"algorithm": "sha1",
"encoding": "hex",
"prefix": "string"
}
},
"etag": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"traceId": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"traceId": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"traceId": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"traceId": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"code": "string",
"traceId": "string"
}