Subscriptions

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
{
  "name": "subscription",
  "nativeObjectType": "subscription",
  "identityAttribute": "subscriptionId",
  "displayAttribute": "displayName",
  "attributes": [
    {
      "name": "subscriptionId",
      "type": "STRING",
      "schema": null,
      "description": "Object ID of the subscription",
      "isMulti": false,
      "isEntitlement": false,
      "isGroup": false
    },
    {
      "name": "displayName",
      "type": "STRING",
      "schema": null,
      "description": "Subscription display name",
      "isMulti": false,
      "isEntitlement": false,
      "isGroup": false
    },
    {
      "name": "state",
      "type": "STRING",
      "schema": null,
      "description": "Subscription state",
      "isMulti": false,
      "isEntitlement": false,
      "isGroup": false
    },
    {
      "name": "authorizationSource",
      "type": "STRING",
      "schema": null,
      "description": "Authorization source of request",
      "isMulti": false,
      "isEntitlement": false,
      "isGroup": false
    },
    {
      "name": "id",
      "type": "STRING",
      "schema": null,
      "description": "Fully qualified ID for the subscription",
      "isMulti": false,
      "isEntitlement": false,
      "isGroup": false
    },
    {
      "name": "tenantId",
      "type": "STRING",
      "schema": null,
      "description": "Subscription tenant ID",
      "isMulti": false,
      "isEntitlement": false,
      "isGroup": false
    },
    {
      "name": "managedByTenants",
      "type": "STRING",
      "schema": null,
      "description": "List of tenants managing subscription",
      "isMulti": true,
      "isEntitlement": false,
      "isGroup": false
    }
  ]
}

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

Copy
[
  {
    "op": "add",
    "path": "/attributes/-",
    "value": {
      "name": "subscription",
      "type": "STRING",
      "schema": {
        "type": "CONNECTOR_SCHEMA",
        "id": "subscription-schema-id",
        "name": "subscription"
      },
      "description": "subscription",
      "isMulti": true,
      "isEntitlement": true,
      "isGroup": true
    }
  }
]