Authentication: Get Access Token (JavaScript)
This script retrieves a bearer token from the Sigma API using client credentials authentication.
- Description
- How to use these code samples
- All samples in Github
This script retrieves a bearer token from the Sigma API using client credentials authentication.
This script lists all connections in alphabetically order by name.
This script automates the synchronization of tables within a specified schema (Snowflake).
This recipe fetches a list of workbooks available to a specified memberId and generates a valid embed URL for each one.
This script deactivates and deletes all users found using a single parameter that can be configured as a wildcard.
This script automates the process of changing a member's email address in Sigma.
This script creates a new member, workspace and the associated grants in Sigma by sending a POST request to the API endpoints required.
This script retrieves the details of a specific member based on the memberId provided in the .env file.
This script retrieves all members from the Sigma API by making GET requests with pagination until all members are fetched.
This script automates the onboarding process for a new member by creating them and executing a series of actions in a specific order.
This script fetches recent documents and folders for a specified member from the Sigma API.
This script updates the account type of a member on the Sigma platform by sending a PATCH request to the API with the new member type.
This script is designed to bulk assign existing members to a specific team, utilizing the members' emails as identifiers.
This script is designed to bulk remove existing members to a specific team, utilizing the members' emails as identifiers.
This script automates the process of copying a specific workbook for a designated user in Sigma.
This recipe demonstrates how to trigger an export job for a specific workbook and include a parameter-based date range for the data.
This script triggers an export to PDF job and downloads the export once ready.
This script automates the process of retrieving column names for all elements in each page of a workbook in Sigma.
This script initiates a materialization job for a specified workbook.
This script fetches all workbooks accessible to a specific member based on their memberId.
This script searches through all workbooks for specific elements of the type "input-table" and logs details about them.
This script fetches all workbooks from the Sigma API, handling pagination for large datasets.
This script fetches all workbooks shared to a specific member based on their memberId.
This script updates the ownership of a specified workbookId.