Praecise Shield/ Reference/ Agents as customers

Set a site's rules for declared agents

put/sites/{site}/agents

Before you call

Credential
Authorization: Bearer $KEY

Parameters

  • sitestringrequired
    In the path. The site key (ps_…).

Request bodyapplication/json, required

  • defaultstring
    For a declared agent no rule names. read_only unless set. One of: welcome, read_only, refuse, accountable_only.
  • agentsobject
    Keyed by the agent's name: the host of its key directory. Up to 200.

Responses

  • 200application/json
    • sitestring
    • defaultstring
      For a declared agent no rule names. read_only unless set. One of: welcome, read_only, refuse, accountable_only.
    • agentsobject
      Keyed by the agent's name: the host of its key directory. Up to 200.

This page as Markdown