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
idstringRequiredThe Row Bot.
actionstringRequiredThe action, such as
documents.read,maps.plotorweb.search.
Body parameters
settingstringRequiredask_first: stop and ask a person.allow: go ahead.blocked: never.
Returns
200OK. For failures, see Errors.
effectstringWhat the action does:
read,write,send,deleteorspend.
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"
}