Rollback Import

Description

This service performs a "rollback" of the import of the file specified by path param (id)


Request

Restrictions

Can only be called after a successful login as it Requires an authenticated user

Endpoint

DELETE https://<server-url>/api/v4/import/delete/{id}

Parameters

Parameter
Location
Required
Description

touchpoint

Query / Header

Yes

The authentication token for the API session. Use Thalamus-Token for the header.

token

Query / Header

Yes

The authentication token for the API session. Use Thalamus-Token for the header.

id

Query / Header

Yes

ID of the file to delete

Full URL Example

https://<server>/thalamus/api/v4/import/delete/274?touchpoint=test&token=...

Request Body

This request does not have a body.


Response

✅ Successful Response: 200 Ok

  • HTTP Status Code: 200 Ok

Example Response

JSON

true

❌ Unsuccessful Response: 400 Bad Request

  • HTTP Status Code: 400 Bad Request

  • Body: A JSON object containing details about the error.

Example Response

JSON

{
  "errors": {
    "partnerDataSource": "TouchpointCodeRequired",
    "partnerDataSource": "InvalidTouchpointCode"
  }
}

Last updated

Was this helpful?