---
title: "Test an Identity Provider connection."
slug: "test-an-identity-provider-connection-1"
updated: 2026-03-02T22:30:52Z
published: 2026-03-02T22:35:48Z
canonical: "support.appgate.com/test-an-identity-provider-connection-1"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.appgate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Test an Identity Provider connection.

Post/identity-providers/test

Test connection for the given Identity Provider JSON.

SecurityHTTPType bearer

Body parameters

Identity Provider object.

<select class='api-response-data' aria-label='Media type'><option value='5bb71c36-ec9d-423b-8898-0a39b2738ca7'>application/json</option>
</select>object  #content#

Responses200

Test result.

<select class='api-response-data' aria-label='Media type'><option value='06c2c93b-ae20-46f5-875a-e91137a9d53f'>application/json</option>
</select>object  successboolean    

Whether the connection succeeded or not.

Examplefalse
errorboolean    

The error text if the connection fails.

ExampleConnection timed out.

400

JSON error. Check the JSON format.

<select class='api-response-data' aria-label='Media type'><option value='a85b4025-c866-43eb-8cea-3cca71139760'>application/json</option>
</select>object  

Generic HTTP error.

idstring    

Machine readable error code.

messagestring    

Human readable error details.

401

Token error. Login again.

<select class='api-response-data' aria-label='Media type'><option value='461e63f5-0ccb-4a8a-aab6-6c838fd4d93c'>application/json</option>
</select>object  

Generic HTTP error.

idstring    

Machine readable error code.

messagestring    

Human readable error details.

403

Insufficient permissions to access this resource.

<select class='api-response-data' aria-label='Media type'><option value='15d0303c-e940-49b7-97a1-250586aed3be'>application/json</option>
</select>object  

Generic HTTP error.

idstring    

Machine readable error code.

messagestring    

Human readable error details.

406

Invalid 'Accept' header.

<select class='api-response-data' aria-label='Media type'><option value='e0e2009d-8f6c-4884-9cb4-78379953c46f'>application/json</option>
</select>object  

Generic HTTP error.

idstring    

Machine readable error code.

messagestring    

Human readable error details.

422

Request validation error. Check "errors" array for details.

<select class='api-response-data' aria-label='Media type'><option value='7b0e1619-3b06-4ee6-ac85-2e18154af8f5'>application/json</option>
</select>Expand Allobject  

Http 422 error for object validation.

idstring    

Machine readable error code.

messagestring    

Human readable error details.

errors Array of object   

List of fields with validation errors.

object  fieldstring    

Name of the field that failed validation.

Examplename
messagestring    

Failure reason.

Examplemay not be null
