Skip to main content
POST
TypeScript (SDK)

Authorizations

tql_api_key
string
header
required

Headers

Connect-Protocol-Version
enum<string>
default:1
required

Define the version of the Connect protocol

Available options:
1
Allowed value: "1"
Connect-Timeout-Ms
number

Define the timeout, in ms

Body

application/json
roleName
string

Exact, case-sensitive role name in the caller's organization. Supply role_name or role_id; if both are supplied they must match.

objectType
string
objectId
string
roleId
string

Legacy role ID. Prefer role_name.

accessType
string

owner, editor, viewer

isPublic
boolean

Response

Success

success
boolean