Skip to main content

api_connectors

Creates, updates, deletes, gets or lists an api_connectors resource.

Overview

Nameapi_connectors
TypeResource
Identra_id.identity.api_connectors

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
authenticationConfigurationThe object which describes the authentication configuration details for calling the API. Basic and PKCS 12 client certificate are supported.
displayNamestringThe name of the API connector.
targetUrlstringThe URL of the API endpoint to call.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectidentity_api_connector_idRead the properties of an identityApiConnector object.
listselectRead the properties of an identityApiConnector object.
insertinsertCreate a new identityApiConnector object.
updateupdateidentity_api_connector_idUpdate the properties of an identityApiConnector object.
deletedeleteidentity_api_connector_idIf-MatchDelete an identityApiConnector object.
upload_client_certificateexecidentity_api_connector_idUpload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
identity_api_connector_idstringThe unique identifier of identityApiConnector
If-MatchstringETag

SELECT examples

Read the properties of an identityApiConnector object.

SELECT
id,
authenticationConfiguration,
displayName,
targetUrl
FROM entra_id.identity.api_connectors
WHERE identity_api_connector_id = '{{ identity_api_connector_id }}' -- required
;

INSERT examples

Create a new identityApiConnector object.

INSERT INTO entra_id.identity.api_connectors (
id,
authenticationConfiguration,
displayName,
targetUrl
)
SELECT
'{{ id }}',
'{{ authenticationConfiguration }}',
'{{ displayName }}',
'{{ targetUrl }}'
RETURNING
id,
authenticationConfiguration,
displayName,
targetUrl
;

UPDATE examples

Update the properties of an identityApiConnector object.

UPDATE entra_id.identity.api_connectors
SET
id = '{{ id }}',
authenticationConfiguration = '{{ authenticationConfiguration }}',
displayName = '{{ displayName }}',
targetUrl = '{{ targetUrl }}'
WHERE
identity_api_connector_id = '{{ identity_api_connector_id }}' --required
RETURNING
id,
authenticationConfiguration,
displayName,
targetUrl;

DELETE examples

Delete an identityApiConnector object.

DELETE FROM entra_id.identity.api_connectors
WHERE identity_api_connector_id = '{{ identity_api_connector_id }}' --required
AND If-Match = '{{ If-Match }}'
;

Lifecycle Methods

Upload a PKCS 12 format key (.pfx) to an API connector's authentication configuration. The input is a base-64 encoded value of the PKCS 12 certificate contents. This method returns an apiConnector.

EXEC entra_id.identity.api_connectors.upload_client_certificate
@identity_api_connector_id='{{ identity_api_connector_id }}' --required
@@json=
'{
"pkcs12Value": "{{ pkcs12Value }}",
"password": "{{ password }}"
}'
;