Document Visibility Rules
Hide the documents of a source, document type or tag from chosen members, roles or uploaders, starting from ready-made templates.
Visibility rules hide the documents of a source, document type or tag from chosen members, roles or uploaders. Admins always see every document.
GET
/v1/iam/rulescURL
curl -X GET https://api.talonic.com/v1/iam/rules \
-H "Authorization: Bearer $TALONIC_API_KEY"POST
/v1/iam/rulescURL
curl -X POST https://api.talonic.com/v1/iam/rules \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "\u2026", "condition_type": "source_connection", "condition_value": "\u2026", "principals": []}'PATCH
/v1/iam/rules/{id}cURL
curl -X PATCH https://api.talonic.com/v1/iam/rules/$ID \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'DELETE
/v1/iam/rules/{id}cURL
curl -X DELETE https://api.talonic.com/v1/iam/rules/$ID \
-H "Authorization: Bearer $TALONIC_API_KEY"GET
/v1/iam/templatescURL
curl -X GET https://api.talonic.com/v1/iam/templates \
-H "Authorization: Bearer $TALONIC_API_KEY"Errors:
401 missing or invalid credential; 403 with a reason (insufficient_scope, insufficient_role, person_inactive, not_member, no_person, workspace_read_only, or STEP_UP_REQUIRED); 404 unknown id in this workspace; 429 rate limited (see Retry-After).