Update user

update blocking status of a user

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

Request

  • Base URL
    https://app.aikido.dev/api/public/v1
  • URL
    https://app.aikido.dev/api/public/v1/firewall/{app_id}/users/{user_id}
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://app.aikido.io/api/oauth/token scopes: firewall:write

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
}

Changes

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