agent_desk

Apply Ip Rule

Apply an owner override on this desk, then return the full bans payload so the UI re-renders from one response instead of a write + refetch.

allow / block upsert the desk's single row for that IP (unique on (domain_id, ip_address)) and clear any expires_at — re-deciding an IP means the new decision is open-ended until someone says otherwise. clear deletes the row, dropping the IP back to the derived threshold behavior. A block on a protected AI-provider address is refused (422): the address is shared by everyone using that assistant.

post/api/domains/{domain_id}/agent-desk/analytics/bans

Request

  • Base URL
    https://api-v1.unusual.ai (the document declares no server; this is the origin it was published from)
  • Auth
    OAuth 2
    Password
    Token URL: /auth/login

Path parameters

domain_idstring required

Headers

x-view-asstring nullable

Request body

ipstring required
actionstring required
reasonstring nullable

Response

Successful Response

unknown required

Changes

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