Authentication
Using the Personal Access Token
X-Api-Key = "<PAT>"curl -L \
--request POST \
--url '/api/v2/test-run/trigger' \
--header 'X-Api-Key: YOUR_API_KEY' \ # Replace YOUR_API_KEY with your personal access token
--header 'Content-Type: application/json-patch+json' \
--data '{"targetId":1,"probeIds":[1,2,3],"name":"SPLX Test Run"}' Response to Unauthorized Access
{
"error": {
"message": "Unauthorized: Authentication is required to access this resource.",
"code": "UNAUTHORIZED"
}
}Last updated
Was this helpful?