Note: This version will be sunset (retired) in June 2025.
See Import Policy V2 for the latest documentation.
Active Policies are factored into the authorization decision returned by the Authorization Platform. Similarly, an Inactive Policy is not considered when calculating the authorization decision. The setting for Policy State is per Environment.
Notice
Accessing the Policy Management APIs is through a dedicated domain/URL, according to your PlainID Tenant Locationhttps://api.us1.plainid.io
https://api.ca1.plainid.io
https://api.eu1.plainid.io
cURL Sample Guidelines
In order for the relevant parameters to appear in the cURL sample, you can input the values in the interactive API console on the right. They will then appear in the cURL sample on the bottom of the page in the correct format.
For more details about Administration API Authentication, check out the Authentication APIs documentation. Provide your bearer token in the Authorization header when making requests to protected resources. Example: Authorization: Bearer 123
The Environment that the Policy is located in.
The Environment ID can be found under the Details tab in the Environment Settings.
The Policy ID can be found on the Policy Details tab
[
{
"op": "replace",
"path": "/state",
"value": true
}
]
Success - No Content
Bad Request
Unauthorized
Policy Not Found