Subscriptions
Add the following attributes to your schema using the
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.
Display name of the subscription.
Subscription identifier with scope.
Authorization Source for the subscription. Default: RoleBased
List of tenants managing subscription.
Type: String, Multi-Valued
Unique identifier for the subscription.
Tenant ID with which subscription has trust relationship.
State of subscription, that is, it is enabled or disabled.
Example schema:
{
"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):
[
{
"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
}
}
]