Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
May 10, 2022 2:59:01 PM
Jamie_Gregory
Apr 12, 2021 7:09:45 AM
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $body='{"description":"test4","expiry":"P1D"}' $hdrs = @{} $hdrs.Add("Authorization","Bearer eyJhbGciOiJFUzM4NCIsImtp...NOofkzjW3R1fc4h") $hdrs.Add("content-type","application/json") $url = "https://yourtenant.eu.qlikcloud.com/api/v1/api-keys" Invoke-RestMethod -Uri $url -Method Post -Headers $hdrs -Body $body
Qlik.Dev - Tutorial for Generating Your First API KeyHelp.Qlik.Com - Generating API Key DocumentationLeveraging APIs on Qlik Sense Enterprise SaaSFormat for Time Duration