Skip to main content

attribute_sets

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

Overview

Nameattribute_sets
TypeResource
Identra_id.directory.attribute_sets

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
descriptionstringDescription of the attribute set. Can be up to 128 characters long and include Unicode characters. Can be changed later.
maxAttributesPerSetnumber (int32)Maximum number of custom security attributes that can be defined in this attribute set. Default value is null. If not specified, the administrator can add up to the maximum of 500 active attributes per tenant. Can be changed later.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectattribute_set_idRead the properties and relationships of an attributeSet object.
listselectGet a list of the attributeSet objects and their properties.
insertinsertCreate a new attributeSet object.
updateupdateattribute_set_idUpdate the properties of an attributeSet object.
deletedeleteattribute_set_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
attribute_set_idstringThe unique identifier of attributeSet
If-MatchstringETag

SELECT examples

Read the properties and relationships of an attributeSet object.

SELECT
id,
description,
maxAttributesPerSet
FROM entra_id.directory.attribute_sets
WHERE attribute_set_id = '{{ attribute_set_id }}' -- required
;

INSERT examples

Create a new attributeSet object.

INSERT INTO entra_id.directory.attribute_sets (
id,
description,
maxAttributesPerSet
)
SELECT
'{{ id }}',
'{{ description }}',
{{ maxAttributesPerSet }}
RETURNING
id,
description,
maxAttributesPerSet
;

UPDATE examples

Update the properties of an attributeSet object.

UPDATE entra_id.directory.attribute_sets
SET
id = '{{ id }}',
description = '{{ description }}',
maxAttributesPerSet = {{ maxAttributesPerSet }}
WHERE
attribute_set_id = '{{ attribute_set_id }}' --required
RETURNING
id,
description,
maxAttributesPerSet;

DELETE examples

No description available.

DELETE FROM entra_id.directory.attribute_sets
WHERE attribute_set_id = '{{ attribute_set_id }}' --required
AND If-Match = '{{ If-Match }}'
;