Skip to main content
POST
CreateAppEntitlementRoutingRule

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

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.

Path Parameters

app_id
string
required

The appId field.

Body

application/json

The CreateAppEntitlementRoutingRuleRequest message.

condition
string

CEL expression evaluated against the entitlement routing rule context. Empty string is valid and matches every target not matched earlier.

description
string

The description field.

displayName
string

The displayName field.

enabled
boolean

The enabled field.

priority
integer<int32>

A 1-indexed insertion slot; the server clamps it into [1, N+1] and re-packs siblings densely. Omit (or 0) to append the rule last.

settings
App Entitlement Routing Rule Settings · object | null

The AppEntitlementRoutingRuleSettings message.

Response

200 - application/json

Successful response

The CreateAppEntitlementRoutingRuleResponse message.

routingRule
App Entitlement Routing Rule · object | null

The AppEntitlementRoutingRule message.