Categories:

System Functions (System Information)

SYSTEM$GENERATE_SCIM_ACCESS_TOKEN

Returns a new SCIM access token that is valid for six months.

Syntax

SYSTEM$GENERATE_SCIM_ACCESS_TOKEN('<integration_name>')

Arguments

<integration_name>

Name of the security integration where TYPE = SCIM. Note that the integration name is case-sensitive, must be uppercase, and be enclosed in single quotes.

For more information, see CREATE SECURITY INTEGRATION (SCIM).

Usage Notes

  • Generating a new access token does not invalidate an existing token. To invalidate an access token, you must delete the entire SCIM security integration using the DROP INTEGRATION command. At that point, you can recreate the security integration using the CREATE SECURITY INTEGRATION (SCIM) command, and then use this function to generate a new token.

Output

The function returns the SCIM access token as a string.

Examples

The following example retrieves the SCIM access token for the specified integration:

SELECT SYSTEM$GENERATE_SCIM_ACCESS_TOKEN('OKTA_PROVISIONING');
Back to top