Permissions

Endpoints to manage permissioning (e.g. sharing with other users) of connectors after they are deployed.

Share with emails

post/cdk/v1/permissions/connectors/{connector-name}/versions/{connector-version}/share-with-emails

Once deployed, connectors can then be shared with other users using their Tray account email addresses.

SecuritybearerAuth
Request
path Parameters
connector-name
required
string

The hypenated name of the connector being deployed.

Example: my-connector
connector-version
required
string

The version of the connector being deployed.

Example: 1.0
header Parameters
Authorization
required
string

The RBAC token. Follow this page to know how to generate one.

Example: Bearer 3fd74d349xxxxxxxxxxxxxxxxxxxxxxxxd90df521
Request Body schema: application/json
emails
required
Array of strings
Responses
200

OK - Connector version was succesfully shared with users.

Response Schema: application/json
message
required
string
400

Invalid input

401

Unauthorized - Verify the token validity

403

Forbidden

404

Not found

429

Limit exceeded

500

Internal error

Request samples
application/json
{
  • "emails": [
    • "john.doe@domain.com",
    • "jane.doe@domain.com"
    ]
}
Response samples
application/json
{
  • "message": "2 permissions added"
}