Skip to content

Popular

  • QuickstartDevelopers
  • AuthenticationBasics
  • WebhooksBasics
  • Upload a documentPOST /v1/read/documents
  • Get a document’s fieldsGET /v1/read/documents/{id}/fields
  • Extract your own fieldsREAD · Document Extraction
WORK menu

WORK · API

Set a permission

Choose Ask first, Allow or Blocked for one action of one Row Bot.

PUThttps://api.rowland.ai/v1/work/row-bots/{id}/permissions/{action}

Path parameters

  • idstringRequired

    The Row Bot.

  • actionstringRequired

    The action, such as documents.read, maps.plot or web.search.

Body parameters

  • settingstringRequired

    ask_first: stop and ask a person. allow: go ahead. blocked: never.

    One of ask_first, allow, blocked

Returns

200OK. For failures, see Errors.

  • effectstring

    What the action does: read, write, send, delete or spend.

curl -X PUT "https://api.rowland.ai/v1/work/row-bots/owen/permissions/web.search" \
  -H "x-api-key: $ROWLAND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "setting": "ask_first"
}'

Response200

{
  "object": "permission",
  "row_bot": "owen",
  "action": "web.search",
  "effect": "read",
  "setting": "ask_first"
}