Application Policies

Provides a resource to manage authentication policies associated with an application

Assign an application to a Policy

Assigns an application to an authentication policy, identified by policyId. If the application was previously assigned to another policy, this operation replaces that assignment with the updated policy identified by policyId.

Note: When you merge duplicate authentication policies, the policy and mapping CRUD operations may be unavailable during the consolidation. When the consolidation is complete, you receive an email.

Request
path Parameters
appId
required
string

Application ID

Example: 0oafxqCAJWWGELFTYASJ
policyId
required
string

id of the Policy

Example: 00plrilJ7jZ66Gn0X0g3
Responses
204

No Content

403

Forbidden

404

Not Found

429

Too Many Requests

put/api/v1/apps/{appId}/policies/{policyId}
Request samples
Response samples
application/json
{
  • "errorCode": "E0000006",
  • "errorSummary": "You do not have permission to perform the requested action",
  • "errorLink": "E0000006",
  • "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
  • "errorCauses": [ ]
}