Sources

Set who reads the records of a connection

Changed on

With enabled: true the admins read every record of the source and everyone else reads only the records they own in it: a record is a person's when the source names their mail address as an owner and they are an active member with that address. With enabled: false everyone who reads the source reads all of its records. Switching it on needs at least one admin, each an active member, and a source that says whose its records are (available). What is built from the source's records follows within minutes; until then it reads as before the change. Allowed to the person who connected it or a member with the Integrations permission.

Scope: sources:write. A key holding only the legacy write scope does not satisfy it.

put/v1/sources/{id}/record-roles

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890

Resource UUID.

Request body

object required
enabled, boolean required
admins, string[]

User ids of the admins. At least one when enabled.

Response

The roles as they stand.

SourceRecordRoles required
available, boolean required

Whether the source says whose each record is. Without that the roles cannot be switched on.

enabled, boolean required

Whether admins read every record and everyone else their own.

admins, SourceRecordRolePerson[] required
owners, object[] required

The owners the source names, most records first (at most 200).

unowned, integer required

Records that name no owner.

Changes