Policies
Create Condition Set
Changed onCreate a new condition set. You must provide either "owner" or "owner_id" (but not both) to specify ownership.
post/v1/condition_sets
Request
- Base URLhttps://api.privy.io
- URLhttps://api.privy.io/v1/condition_sets
- AuthHTTP basic
Headers
privy-app-idstring required
ID of your Privy app.
Request body
Response
Created condition set object.
Example response
{
"id": "qvah5m2hmp9abqlxdmfiht95",
"name": "Approved Recipients",
"owner_id": "asgkan0r7gi0wdbvf9cw8qio",
"created_at": 1761271537642
}Changes
- info
removed
subschema #2from theresponse propertyallOflist for the response status - info
added
subschema #2to theresponse propertyanyOflist for the response status
- info
- breaking
added
subschema #2to therequest propertyallOflist - breaking
added
subschema #2to therequest propertyallOflist - breaking
removed
subschema #3subschema #4from therequest propertyanyOflist - breaking
the request property
became not nullable - breaking
the
request property type changed fromstringnullto no type, and format fromcuid2to no format
- breaking