Create
Create
Invokes the c1.api.app.v1.AppEntitlements.Create method.
Path Parameters
The appId field.
Body Parameters
The displayName field.
The alias field.
The appEntitlementOwnerIds field.
The appResourceId field.
The appResourceTypeId field.
The certifyPolicyId field.
The complianceFrameworkValueIds field.
The description field.
The emergencyGrantEnabled field.
The emergencyGrantPolicyId field.
The app entitlement expand mask allows the user to get additional information when getting responses containing app entitlement views.
The grantPolicyId field.
If supplied, it's implied that the entitlement is created before sync and needs to be merged with connector entitlement.
The overrideAccessRequestsDefaults field.
ProvisionPolicy is a oneOf that indicates how a provision step should be processed.
This message contains a oneof named typ. Only a single field of the following list may be set at a time:
- connector
- manual
- delegated
- webhook
- multiStep
- externalTicket
- unconfigured
The purpose field.
The revokePolicyId field.
The riskLevelValueId field.
The slug field.
Returns
The app entitlement view contains the serialized app entitlement and paths to objects referenced by the app entitlement.
The expanded field.
curl https://{tenantDomain}.conductor.one/api/v1/apps/$APP_ID/entitlements \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $CONDUCTORONE_SDK_API_KEY" \
-d '{
"displayName": "displayName"
}'{
"appEntitlementView": {
"appEntitlement": {
"alias": "alias",
"appId": "appId",
"appResourceId": "appResourceId",
"appResourceTypeId": "appResourceTypeId",
"certifyPolicyId": "certifyPolicyId",
"complianceFrameworkValueIds": [
"string"
],
"defaultValuesApplied": true,
"deprovisionerPolicy": {
"connector": {
"account": {
"config": {
"foo": "bar"
},
"connectorId": "connectorId",
"doNotSave": {},
"saveToVault": {
"vaultIds": [
"string"
]
},
"schemaId": "schemaId"
},
"defaultBehavior": {
"connectorId": "connectorId"
},
"deleteAccount": {
"connectorId": "connectorId"
}
},
"delegated": {
"appId": "appId",
"entitlementId": "entitlementId",
"implicit": true
},
"externalTicket": {
"appId": "appId",
"connectorId": "connectorId",
"externalTicketProvisionerConfigId": "externalTicketProvisionerConfigId",
"instructions": "instructions"
},
"manual": {
"instructions": "instructions",
"userIds": [
"string"
]
},
"unconfigured": {},
"webhook": {
"webhookId": "webhookId"
}
},
"description": "description",
"displayName": "displayName",
"durationGrant": "durationGrant",
"durationUnset": {},
"emergencyGrantEnabled": true,
"emergencyGrantPolicyId": "emergencyGrantPolicyId",
"grantPolicyId": "grantPolicyId",
"isManuallyManaged": true,
"matchBatonId": "matchBatonId",
"overrideAccessRequestsDefaults": true,
"provisionerPolicy": {
"connector": {
"account": {
"config": {
"foo": "bar"
},
"connectorId": "connectorId",
"doNotSave": {},
"saveToVault": {
"vaultIds": [
"string"
]
},
"schemaId": "schemaId"
},
"defaultBehavior": {
"connectorId": "connectorId"
},
"deleteAccount": {
"connectorId": "connectorId"
}
},
"delegated": {
"appId": "appId",
"entitlementId": "entitlementId",
"implicit": true
},
"externalTicket": {
"appId": "appId",
"connectorId": "connectorId",
"externalTicketProvisionerConfigId": "externalTicketProvisionerConfigId",
"instructions": "instructions"
},
"manual": {
"instructions": "instructions",
"userIds": [
"string"
]
},
"unconfigured": {},
"webhook": {
"webhookId": "webhookId"
}
},
"purpose": "APP_ENTITLEMENT_PURPOSE_VALUE_UNSPECIFIED",
"revokePolicyId": "revokePolicyId",
"riskLevelValueId": "riskLevelValueId",
"slug": "slug",
"sourceConnectorIds": {
"foo": "string"
},
"userEditedMask": "userEditedMask"
},
"appPath": "appPath",
"appResourcePath": "appResourcePath",
"appResourceTypePath": "appResourceTypePath"
},
"expanded": [
{
"@type": "@type"
}
]
}