Resource Group

Add the following attributes to your schema using the Create New Schema Identity Security Cloud REST API.

Note
For more information on SailPoint's REST APIs, refer to Best Practices: REST API Authentication and REST API - Update Source (Partial) in the SailPoint Developer Community.

Example schema:

Copy
<Schema displayAttribute="name" identityAttribute="id" nativeObjectType="resourceGroup" objectType="resourceGroup">
    <AttributeDefinition name="id" type="string">
        <Description>ID of the resource group.</Description>
    </AttributeDefinition>
    <AttributeDefinition name="name" type="string">
        <Description>Name of the resource group</Description>
    </AttributeDefinition>
    <AttributeDefinition name="type" type="string">
        <Description>Type of the resource group</Description>
    </AttributeDefinition>
    <AttributeDefinition name="location" type="string">
         <Description>Location of the resource group</Description>
    </AttributeDefinition>
    <AttributeDefinition name="provisioningState" type="string">
        <Description>Provisioning state of the resource group</Description>
    </AttributeDefinition>
</Schema>

The following is the corresponding sample entry of this entitlement in the account schema (if needed):

Copy
<AttributeDefinition entitlement="true" managed="true" multi="true" name="resourceGroup" schemaObjectType="resourceGroup" type="string">
    <Description>resourceGroup</Description>
</AttributeDefinition>