Blocklist
Add to blocklist
Block a domain pattern from being accessed through your proxies.
Authorization
bearerAuth AuthorizationBearer <token>
Personal access token obtained via POST /v1/auth/token
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://api.soxway.io/v1/account/blocklist" \ -H "Content-Type: application/json" \ -d '{ "pattern": "ads.example.com" }'{
"data": {
"id": 0,
"pattern": "ads.example.com",
"comment": "string",
"created_at": "2019-08-24T14:15:22Z"
}
}{
"message": "string",
"data": {
"id": 0,
"pattern": "ads.example.com",
"comment": "string",
"created_at": "2019-08-24T14:15:22Z"
}
}Empty