Skip to main content

authentication_event_listeners

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

Overview

Nameauthentication_event_listeners
TypeResource
Identra_id.identity.authentication_event_listeners

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
authenticationEventsFlowIdstringThe identifier of the authenticationEventsFlow object.
conditionsThe conditions on which this authenticationEventListener should trigger.
displayNamestringThe display name of the listener.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectauthentication_event_listener_idRead the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported.
listselectGet a list of the authenticationEventListener objects and their properties. The following derived types are supported:
insertinsertCreate a new authenticationEventListener object. You can create one of the following subtypes that are derived from authenticationEventListener.
updateupdateauthentication_event_listener_idUpdate the properties of an authenticationEventListener object. You must specify the @odata.type property and the value of the authenticationEventListener object type to update. The following derived types are currently supported.
deletedeleteauthentication_event_listener_idIf-MatchDelete an authenticationEventListener object. The following derived types are currently supported.

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
authentication_event_listener_idstringThe unique identifier of authenticationEventListener
If-MatchstringETag

SELECT examples

Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported.

SELECT
id,
authenticationEventsFlowId,
conditions,
displayName
FROM entra_id.identity.authentication_event_listeners
WHERE authentication_event_listener_id = '{{ authentication_event_listener_id }}' -- required
;

INSERT examples

Create a new authenticationEventListener object. You can create one of the following subtypes that are derived from authenticationEventListener.

INSERT INTO entra_id.identity.authentication_event_listeners (
id,
authenticationEventsFlowId,
conditions,
displayName
)
SELECT
'{{ id }}',
'{{ authenticationEventsFlowId }}',
'{{ conditions }}',
'{{ displayName }}'
RETURNING
id,
authenticationEventsFlowId,
conditions,
displayName
;

UPDATE examples

Update the properties of an authenticationEventListener object. You must specify the @odata.type property and the value of the authenticationEventListener object type to update. The following derived types are currently supported.

UPDATE entra_id.identity.authentication_event_listeners
SET
id = '{{ id }}',
authenticationEventsFlowId = '{{ authenticationEventsFlowId }}',
conditions = '{{ conditions }}',
displayName = '{{ displayName }}'
WHERE
authentication_event_listener_id = '{{ authentication_event_listener_id }}' --required
RETURNING
id,
authenticationEventsFlowId,
conditions,
displayName;

DELETE examples

Delete an authenticationEventListener object. The following derived types are currently supported.

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