Skip to main content

custom_security_attribute_definitions_allowed_values

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

Overview

Namecustom_security_attribute_definitions_allowed_values
TypeResource
Identra_id.directory.custom_security_attribute_definitions_allowed_values

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
isActivebooleanIndicates whether the predefined value is active or deactivated. If set to false, this predefined value can't be assigned to any other supported directory objects.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectcustom_security_attribute_definition_id, allowed_value_idRead the properties and relationships of an allowedValue object.
listselectcustom_security_attribute_definition_idGet a list of the allowedValue objects and their properties.
insertinsertcustom_security_attribute_definition_idCreate a new allowedValue object.
updateupdatecustom_security_attribute_definition_id, allowed_value_idUpdate the properties of an allowedValue object.
deletedeletecustom_security_attribute_definition_id, allowed_value_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
allowed_value_idstringThe unique identifier of allowedValue
custom_security_attribute_definition_idstringThe unique identifier of customSecurityAttributeDefinition
If-MatchstringETag

SELECT examples

Read the properties and relationships of an allowedValue object.

SELECT
id,
isActive
FROM entra_id.directory.custom_security_attribute_definitions_allowed_values
WHERE custom_security_attribute_definition_id = '{{ custom_security_attribute_definition_id }}' -- required
AND allowed_value_id = '{{ allowed_value_id }}' -- required
;

INSERT examples

Create a new allowedValue object.

INSERT INTO entra_id.directory.custom_security_attribute_definitions_allowed_values (
id,
isActive,
custom_security_attribute_definition_id
)
SELECT
'{{ id }}',
{{ isActive }},
'{{ custom_security_attribute_definition_id }}'
RETURNING
id,
isActive
;

UPDATE examples

Update the properties of an allowedValue object.

UPDATE entra_id.directory.custom_security_attribute_definitions_allowed_values
SET
id = '{{ id }}',
isActive = {{ isActive }}
WHERE
custom_security_attribute_definition_id = '{{ custom_security_attribute_definition_id }}' --required
AND allowed_value_id = '{{ allowed_value_id }}' --required
RETURNING
id,
isActive;

DELETE examples

No description available.

DELETE FROM entra_id.directory.custom_security_attribute_definitions_allowed_values
WHERE custom_security_attribute_definition_id = '{{ custom_security_attribute_definition_id }}' --required
AND allowed_value_id = '{{ allowed_value_id }}' --required
AND If-Match = '{{ If-Match }}'
;