Skip to main content

rejected_senders

Creates, updates, deletes, gets or lists a rejected_senders resource.

Overview

Namerejected_senders
TypeResource
Identra_id.groups.rejected_senders

Fields

The following fields are returned by SELECT queries:

Retrieved collection

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
deletedDateTimestring (date-time)Date and time when this object was deleted. Always null when the object hasn't been deleted. (pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectgroup_idUsers in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error.
add_refinsertgroup_idSpecify the user or group in @odata.id in the request body. Users in the rejected senders list can't post to conversations of the group (identified in the POST request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you'll get an error.
remove_refdeletegroup_id, directory_object_idIf-Match
remove_ref_2deletegroup_idIf-Match

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
directory_object_idstringThe unique identifier of directoryObject
group_idstringThe unique identifier of group
If-MatchstringETag

SELECT examples

Users in the rejected senders list can't post to conversations of the group (identified in the GET request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you get an error.

SELECT
id,
deletedDateTime
FROM entra_id.groups.rejected_senders
WHERE group_id = '{{ group_id }}' -- required
;

INSERT examples

Specify the user or group in @odata.id in the request body. Users in the rejected senders list can't post to conversations of the group (identified in the POST request URL). Make sure you don't specify the same user or group in the rejected senders and accepted senders lists, otherwise you'll get an error.

INSERT INTO entra_id.groups.rejected_senders (
directoryObjectId,
group_id
)
SELECT
'{{ directoryObjectId }}',
'{{ group_id }}'
;

DELETE examples

No description available.

DELETE FROM entra_id.groups.rejected_senders
WHERE group_id = '{{ group_id }}' --required
AND directory_object_id = '{{ directory_object_id }}' --required
AND If-Match = '{{ If-Match }}'
;