Skip to main content

license_details

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

Overview

Namelicense_details
TypeResource
Identra_id.users.license_details

Fields

The following fields are returned by SELECT queries:

Retrieved navigation property

NameDatatypeDescription
idstringThe unique identifier for an entity. Read-only.
servicePlansarrayInformation about the service plans assigned with the license. Read-only. Not nullable.
skuIdstring (uuid)Unique identifier (GUID) for the service SKU. Equal to the skuId property on the related subscribedSku object. Read-only. (pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$)
skuPartNumberstringUnique SKU display name. Equal to the skuPartNumber on the related subscribedSku object; for example, AAD_Premium. Read-only.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectuser_id, license_details_idA collection of this user's license details. Read-only.
listselectuser_idA collection of this user's license details. Read-only.
insertinsertuser_id
updateupdateuser_id, license_details_id
deletedeleteuser_id, license_details_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
license_details_idstringThe unique identifier of licenseDetails
user_idstringThe unique identifier of user
If-MatchstringETag

SELECT examples

A collection of this user's license details. Read-only.

SELECT
id,
servicePlans,
skuId,
skuPartNumber
FROM entra_id.users.license_details
WHERE user_id = '{{ user_id }}' -- required
AND license_details_id = '{{ license_details_id }}' -- required
;

INSERT examples

No description available.

INSERT INTO entra_id.users.license_details (
id,
servicePlans,
skuId,
skuPartNumber,
user_id
)
SELECT
'{{ id }}',
'{{ servicePlans }}',
'{{ skuId }}',
'{{ skuPartNumber }}',
'{{ user_id }}'
RETURNING
id,
servicePlans,
skuId,
skuPartNumber
;

UPDATE examples

No description available.

UPDATE entra_id.users.license_details
SET
id = '{{ id }}',
servicePlans = '{{ servicePlans }}',
skuId = '{{ skuId }}',
skuPartNumber = '{{ skuPartNumber }}'
WHERE
user_id = '{{ user_id }}' --required
AND license_details_id = '{{ license_details_id }}' --required
RETURNING
id,
servicePlans,
skuId,
skuPartNumber;

DELETE examples

No description available.

DELETE FROM entra_id.users.license_details
WHERE user_id = '{{ user_id }}' --required
AND license_details_id = '{{ license_details_id }}' --required
AND If-Match = '{{ If-Match }}'
;