Skip to content

Held teams review queue

GET
/api/v1/admin/suspension-cases/held
curl --request GET \
--url https://api.deploybase.eu/api/v1/api/v1/admin/suspension-cases/held \
--header 'Authorization: <Authorization>'

Teams held by an open suspension case (they keep serving, their deploys are paused), oldest decision first, with the case’s class and origin, the hold reason, the plan at decision time and the current plan. Resolve each with the suspend or release action on its case.

page
integer

Page number (default 1)

page_size
integer

Page size, 1-100 (default 20)

OK

Media type application/json
object
data
meta
object
request_id
string
timestamp
string
trace_id
string
data
object
items
Array<object>
object
case_class
string
Allowed values: phishing malware spam_network illegal_content copyright payment other
case_id
string
case_opened_at
string
case_origin_team_name
string
current_plan

CurrentPlan is the plan of the team’s live subscription now (“” when it has none); PlanAtDecision on the row is what it was when the case decided.

string
decided_at
string
hold_reason
string
id
string
last_error
string
owner_count
integer
plan_at_decision
string
resolved_at
string
resolved_by
string
role
string
state
string
suspended_by_case
boolean
team_id
string
team_name
string
via_user_id
string
page
integer
page_size
integer
total
integer

Example

{
"data": {
"items": [
{
"case_class": "phishing"
}
]
}
}

Bad Request

Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string

Example generated

{
"code": "example",
"details": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
}
}

Unauthorized

Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string

Example generated

{
"code": "example",
"details": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
}
}

Forbidden

Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string

Example generated

{
"code": "example",
"details": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
}
}

Internal Server Error

Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string

Example generated

{
"code": "example",
"details": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
}
}

Service Unavailable

Media type application/json
object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string

Example generated

{
"code": "example",
"details": "example",
"error": "example",
"meta": {
"request_id": "example",
"timestamp": "example",
"trace_id": "example"
}
}

Live f79d25b6 built