BSV blockchainBSV blockchain

Remove a ban

POST/admin/unban

Body application/json

type"domain" | "outpoint"required
valuestringrequired

Response

Ban removed.

statusstring
messagestring

Bad request — validation error or missing required field.

statusstring
messagestring
codestring

Stable machine-readable error code (see specs/errors.md).

No authentication credentials provided.

statusstring
messagestring
codestring

Stable machine-readable error code (see specs/errors.md).

Credentials provided but insufficient.

statusstring
messagestring
codestring

Stable machine-readable error code (see specs/errors.md).

Request
curl -X POST "https://{fqdn}/admin/unban" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <token>" \
  -H "Authorization: Bearer <token>" \
  -d '{
  "type": "domain",
  "value": "string"
}'
Response
{
  "status": "string",
  "message": "string"
}