Delete Usergroup by lookup key
DELETE/usergroups/:lookupKey/:lookupValue
Delete a usergroup by a specific lookupKey / lookupId combination. A deleted usergroup will be moved to the Propeller Recycle bin. This means the deleted usergroup can be restored, however, only via the Propeller backoffice.
Request
Path Parameters
Lookup key. Read more about usergroup lookup keys
The value of the key (id or sourceId)
Responses
- 200
- 400
- 404
Delete Usergroup by Id - 200
Response Headers
Alt-Svc
string
Via
string
alt-svc
string
content-length
string
date
string
return-format
string
server
string
x-request-id
string
- application/json
- Schema
- Example (from schema)
- Delete Usergroup by Id - 200
Schema
data
object
{
"data": {},
"messages": [
"Usergroup deleted"
]
}
{
"data": {},
"messages": [
"Usergroup deleted"
]
}
Delete Usergroup by Id - 400
Response Headers
Alt-Svc
string
Via
string
alt-svc
string
content-length
string
date
string
return-format
string
server
string
x-request-id
string
- application/json
- Schema
- Example (from schema)
- Delete Usergroup by Id - 400
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 Usergroup by Id - 404
Response Headers
Alt-Svc
string
Via
string
alt-svc
string
content-length
string
date
string
return-format
string
server
string
x-request-id
string
- application/json
- Schema
- Example (from schema)
- Delete Usergroup by Id - 404
Schema
error
object
{
"error": {
"code": 20006,
"messages": [
"Usergroup with id [21317] not found"
],
"moreInfo": "https://www.propel.us/docs/errors/20006",
"status": 404,
"type": "UsergroupNotFound"
}
}
{
"error": {
"code": 20006,
"messages": [
"Usergroup with id [21317] not found"
],
"moreInfo": "https://www.propel.us/docs/errors/20006",
"status": 404,
"type": "UsergroupNotFound"
}
}