Token Bans

Ban user from token

Ban user from token

post/v1/tokens/{tokenName}/bans

Request

Path parameters

tokenNamestring required

Token name whose user is banned.

Request body

durationSecondsnumber
reasonstring
userAddressstring gala-chain-address required

Response

Created ban record.

errorfalse required

Successful response marker.

messagestring required

Response message.

statusnumber required

HTTP status code.

Example response

{
  "message": "Success",
  "status": 200
}

Changes

No recorded changes to this operation across all 1 revision of this API.