Skip to main content
POST
ReorderAppEntitlementRoutingRules

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 ID of the app whose rules should be reordered.

Body

application/json

The ReorderAppEntitlementRoutingRulesRequest message.

ruleIds
string[] | null

The full set of routing-rule IDs for the app, in the desired evaluation order. The first entry receives priority 1, the second priority 2, and so on. The list must be a permutation of every active rule in the app.

Response

200 - application/json

Successful response

The ReorderAppEntitlementRoutingRulesResponse message.

list
App Entitlement Routing Rule · object[] | null

The rules in their new evaluation order, with priorities reassigned to 1..N.