Bans
An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
411486491630370816The maximum number of items to return in a single request.
Returns items after the specified ID. Used for forward pagination through results.
411486491630370816Returns items before the specified ID. Used for backward pagination through results.
411486491630370816Determines the sort order of returned items. When true, items are returned in ascending order. When false, items are returned in descending order.
OK
Error response
GET /v1/stores/{storeId}/bans HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "411486491630370816",
"store_id": "411486491630370816",
"reason": "text",
"enabled": true,
"identities": [
{
"ban_type": "unknown",
"ban_type_value": "text"
}
],
"created_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"created_at": "2025-11-19T15:39:47.680Z",
"updated_at": "2025-11-19T15:39:47.680Z",
"updated_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"expires_at": "2025-11-19T15:39:47.680Z"
}
]An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
411486491630370816Created
Error response
POST /v1/stores/{storeId}/bans HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 119
{
"reason": "text",
"identities": [
{
"ban_type": "unknown",
"ban_type_value": "text"
}
],
"expires_at": "2025-11-19T15:39:47.680Z"
}{
"id": "411486491630370816",
"store_id": "411486491630370816",
"reason": "text",
"enabled": true,
"identities": [
{
"ban_type": "unknown",
"ban_type_value": "text"
}
],
"created_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"created_at": "2025-11-19T15:39:47.680Z",
"updated_at": "2025-11-19T15:39:47.680Z",
"updated_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"expires_at": "2025-11-19T15:39:47.680Z"
}An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
411486491630370816411486491630370816OK
Error response
GET /v1/stores/{storeId}/bans/{banId} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "411486491630370816",
"store_id": "411486491630370816",
"reason": "text",
"enabled": true,
"identities": [
{
"ban_type": "unknown",
"ban_type_value": "text"
}
],
"created_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"created_at": "2025-11-19T15:39:47.680Z",
"updated_at": "2025-11-19T15:39:47.680Z",
"updated_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"expires_at": "2025-11-19T15:39:47.680Z"
}An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
411486491630370816411486491630370816No Content
Error response
DELETE /v1/stores/{storeId}/bans/{banId} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Accept: */*
No content
An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
411486491630370816411486491630370816OK
Error response
PATCH /v1/stores/{storeId}/bans/{banId} HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 119
{
"reason": "text",
"identities": [
{
"ban_type": "unknown",
"ban_type_value": "text"
}
],
"expires_at": "2025-11-19T15:39:47.680Z"
}{
"id": "411486491630370816",
"store_id": "411486491630370816",
"reason": "text",
"enabled": true,
"identities": [
{
"ban_type": "unknown",
"ban_type_value": "text"
}
],
"created_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"created_at": "2025-11-19T15:39:47.680Z",
"updated_at": "2025-11-19T15:39:47.680Z",
"updated_by": {
"type": "anonymous",
"id": "411486491630370816"
},
"expires_at": "2025-11-19T15:39:47.680Z"
}An API Key token generated in the Dashboard in the format 'APIKey TOKEN_HERE'.
411486491630370816OK
Error response
POST /v1/stores/{storeId}/bans/check HTTP/1.1
Host:
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 63
{
"identities": [
{
"ban_type": "unknown",
"ban_type_value": "text"
}
]
}{
"identities": [
{
"ban_type": "unknown",
"ban_type_value": "text"
}
]
}Last updated
Was this helpful?
