Menu
Update Policies
Update Multiple Policies
PATCH
/policiesUse it in a workflow
- Add a step and choose the Directus connector.
- Pick the Update Policies action (under Policies).
- Fill in the fields below, then reference the result from later steps as
{{updatePolicies.response.data}}.
Request
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"data": {
"type": null,
"description": null
},
"keys": [
"string"
]
}
Response
Returns 200 with an object. Read it in later steps with {{updatePolicies.response.data.<field>}}.
{
"data": [
{
"type": null,
"description": null
}
],
"meta": {
"total_count": 0,
"filter_count": 0
}
}
Need more? See the Directus guide for connection setup and behaviour shared by every action.
Was this page helpful?