Validate User Permissions (POST)
Validate whether a user has the necessary org-level and user-level permissions to perform an insurance operation, such as creating a quote or policy. If the user isn’t authorized to perform the specified action, the API returns the validation status along with troubleshooting guidance.
Use this resource at design time to confirm that a user can perform a given insurance operation before guiding them through a setup flow. Provide a targetOperation value such as executeQuote, browseCatalog, or createPolicy. Optionally set userId. If userId isn’t specified, the API checks the current running user.
The API resolves org-level and user-level access checks for the operation. When the user is permitted, isValid is true. When a check fails, isValid is false and instructions names the missing permission set or lists supported operation identifiers. Examples include:
- Unsupported or blank
targetOperation— returns invalid with the list of supported values. - Missing policy admin access for quote or policy operations — for example, assign
DigitalInsurancePolicyAdminUser. - Missing product admin access for catalog, rating, surcharge, underwriting rule, or clause operations — for example, assign
DigitalInsuranceProductAdminorDigitalInsuranceRunTimeProductAdmin.
Replace {yourInstance} with the My Domain name of your Salesforce org.
68.0
POST
Insurance Validate User Permissions Input