Skip to main content
POST
Ban or Unban Client Device

Authorizations

Authorization
string
header
required

Standard HTTP Bearer token authentication header (e.g. Authorization: Bearer pk_live_...).

Body

application/json
computerId
integer
required

Unique ID of the computer.

Example:

12

action
enum<string>
required
Available options:
ban,
unban
Example:

"ban"

reason
string

Required when action is 'ban'.

Example:

"Memory tampering detected"

Response

Computer ban status updated.

success
boolean
Example:

true

message
string
Example:

"Operation completed successfully"