Table Access

Save Table Access Rule

Save a table access rule  <b><a target='_blank' href='https://evidence.dev/pricing'>Team Plan and Above</a></b>

post/v1/workspaces/tables/access

Request

  • Base URL: https://management.evidence.studio
  • URL: https://management.evidence.studio/v1/workspaces/tables/access
  • Auth: one of:
    • API key in header Authorization
    • API key in cookie wos-session

Request body

tablestring required

Table name

applyToAllboolean

Apply rule to all users in your org.

applyTostring[]

Users that should be affected by the rule, 10 users change at the time use the user endpoint for larger change

exceptUsersstring[]

Users that should be excluded from the rule, 10 users change at the time use the user endpoint for larger change

Example request

{
  "table": "sales_all_regions",
  "applyTo": [
    "user_12345",
    "user_49922"
  ],
  "exceptUsers": [
    "user_abc",
    "user_ebc"
  ]
}

Response

Tables with access status

unknown required

Changes

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