Rules
Add a rule to a policy
Create a new rule for a policy.
POST
Create Policy Rule
Authorizations
Basic Auth header with your app ID as the username and your app secret as the password.
Headers
ID of your Privy app.
Request authorization signature. If multiple signatures are required, they should be comma separated.
Path Parameters
Required string length:
24
Body
application/json
The rules that apply to each method the policy covers.
Response
200 - application/json
Created policy rule object.
A rule that defines the conditions and action to take if the conditions are true. The rules that apply to each method the policy covers.
Create Policy Rule