POST/enterprise_connections/{enterprise_connection_id}/test_runs

Create an enterprise connection test run

Returns a short-lived URL that starts the IdP test flow for this connection.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 parameter
enterprise_connection_idstringrequired
The ID of the enterprise connection

4 status codes
200A URL to initiate an enterprise connection test run
urlstringrequired
A short-lived URL that can be used to initiate the test run flow
402Payment required
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional
403Authorization invalid
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional
404Resource not found
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional

Error handling

A 402 is returned: Payment required. A 403 is returned: Authorization invalid. A 404 is returned: Resource not found.