v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Update user

update blocking status of a user

put/firewall/{app_id}/users/{user_id}

Path parameters

app_idinteger required

The ID of the Zen app

user_idstring required

User ID as passed to the Zen SDK

Request body

blockboolean required

Whether to block the specified user from accessing your app

Example request

{
  "block": true
}

Response

The app has been successfully created

successboolean

The boolean true indicating success

Example response

{
  "success": true
}