Invokes the c1.api.app.v1.AppEntitlements.Create method.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
The appId field.
The CreateAppEntitlementRequest message.
This message contains a oneof named max_grant_duration. Only a single field of the following list may be set at a time:
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:
The purpose field.
APP_ENTITLEMENT_PURPOSE_VALUE_UNSPECIFIED, APP_ENTITLEMENT_PURPOSE_VALUE_ASSIGNMENT, APP_ENTITLEMENT_PURPOSE_VALUE_PERMISSION The revokePolicyId field.
The riskLevelValueId field.
The slug field.
Successful response