List identity providers
GET
/v1/identity-providers
const url = 'https://example.com/v1/identity-providers?limit=50';const options = { method: 'GET', headers: { 'X-Tenant-ID': '2489E9AD-2EE2-8E00-8EC9-32D5F69181C0', 'X-API-Key': '<X-API-Key>' }};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/v1/identity-providers?limit=50' \ --header 'X-API-Key: <X-API-Key>' \ --header 'X-Tenant-ID: 2489E9AD-2EE2-8E00-8EC9-32D5F69181C0'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” X-Tenant-ID
required
string format: uuid
Tenant identifier. Must match the tenant associated with the credential. Returns 403 tenant_mismatch if the credential and header belong to different tenants.
Query Parameters
Section titled “Query Parameters ” limit
integer
Maximum number of items to return.
cursor
string
Opaque pagination cursor from a previous response. Omit for the first page.
enabled
boolean
Filter by enabled status.
Responses
Section titled “ Responses ”OK
Media type application/json
object
data
required
Array<object>
object
id
required
string format: uuid
name
required
string
provider_type
required
string
config
required
object
key
additional properties
any
enabled
required
boolean
last_synced_at
string format: date-time
sync_status
required
string
sync_error
string
created_at
required
string format: date-time
updated_at
required
string format: date-time
next_cursor
string
has_more
required
boolean
Example
{ "data": [ { "provider_type": "aws_identity_center", "sync_status": "pending" } ]}Unauthenticated
Media type application/json
object
code
required
Machine-readable error code (e.g. “not_found”, “tenant_mismatch”).
string
message
required
Human-readable description of the error.
string
details
Optional additional context about the error.
object
key
additional properties
any
notices
Policy notices from determining Cedar rules, if applicable.
Array<string>
Example generated
{ "code": "example", "message": "example", "details": {}, "notices": [ "example" ]}Forbidden
Media type application/json
object
code
required
Machine-readable error code (e.g. “not_found”, “tenant_mismatch”).
string
message
required
Human-readable description of the error.
string
details
Optional additional context about the error.
object
key
additional properties
any
notices
Policy notices from determining Cedar rules, if applicable.
Array<string>
Example generated
{ "code": "example", "message": "example", "details": {}, "notices": [ "example" ]}