Cosmos DB Connector
Documentation
Version: 2
Documentation

EndPoint Create Permission Token for a User (One Table)


Name

create_token

Description

Create a new user which you can later use to create permission set and obtain resource token. [API Help]

Parameters

Parameter Label Required Options Description
PermissionName Permission Name (e.g. read_orders) YES
Database Database Name (keep blank to use default) Case-Sensitive NO Leave blank to use default DB set on connection screen
User User Name (Case-Sensitive) YES
PermissionMode PermissionMode YES
Option Value
All All
Read Read
Write Write
Delete Delete
Table Table (Add Permission for this) YES
ExpiresInSecond ExpiresInSecond NO The validity period of the resource token returned by the operation. By default, a resource token is valid for one hour. To override the default, set this header with the desired validity period in seconds. The max override value is 18000, which is five hours.

Output Columns

Label DataType Length Raw Description
Id DT_WSTR 4000 False
PermissionMode DT_WSTR 4000 False
Resource DT_WSTR 4000 False
Token DT_WSTR 4000 False

Input Columns

Label DataType Length Raw Description
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime.