Delete Contact by lookup key
DELETE/contacts/:lookupKey/:lookupValue
Delete a contact
by a specific lookupKey / lookupId combination. A deleted contact
will be moved to the Propeller Recycle bin. This means the deleted contact can be restored, however, only via the Propeller backoffice.
Request
Path Parameters
Lookup key. Read more about contact lookup keys
The value of the key (id or sourceId)
Responses
- 200
- 400
- 404
Delete Contact by lookup key - 200
Response Headers
Alt-Svc
string
Via
string
alt-svc
string
content-length
string
date
string
return-format
string
x-request-id
string
- application/json
- Schema
- Example (from schema)
- Delete Contact by lookup key - 200
Schema
data
object
{
"data": {},
"messages": [
"Contact deleted"
]
}
{
"data": {},
"messages": [
"Contact deleted"
]
}
Delete Contact by lookup key - 400 (invalid lookup key)
Response Headers
Alt-Svc
string
Via
string
alt-svc
string
content-length
string
date
string
return-format
string
x-request-id
string
- application/json
- Schema
- Example (from schema)
- Delete Contact by lookup key - 400 (invalid lookup key)
Schema
error
object
{
"error": {
"code": 10006,
"messages": [
"Invalid lookup key [ids], key must contain one of the following values: [id,sourceId,]"
],
"moreInfo": "https://www.propel.us/docs/errors/10006",
"status": 400,
"type": "InvalidLookupKey"
}
}
{
"error": {
"code": 10006,
"messages": [
"Invalid lookup key [ids], key must contain one of the following values: [id,sourceId,]"
],
"moreInfo": "https://www.propel.us/docs/errors/10006",
"status": 400,
"type": "InvalidLookupKey"
}
}
Delete Contact by lookup key - 404
Response Headers
Alt-Svc
string
Via
string
alt-svc
string
content-length
string
date
string
return-format
string
x-request-id
string
- application/json
- Schema
- Example (from schema)
- Delete Contact by lookup key - 404
Schema
error
object
{
"error": {
"code": 50006,
"messages": [
"Contact with sourceId [25494] not found"
],
"moreInfo": "https://www.propel.us/docs/errors/50006",
"status": 404,
"type": "ContactNotFound"
}
}
{
"error": {
"code": 50006,
"messages": [
"Contact with sourceId [25494] not found"
],
"moreInfo": "https://www.propel.us/docs/errors/50006",
"status": 404,
"type": "ContactNotFound"
}
}