Menu
Update Deployment Projects
Update Selected Deployment Projects
PATCH
/deployments/{provider}/projectsUse it in a workflow
- Add a step and choose the Directus connector.
- Pick the Update Deployment Projects action (under Deployments).
- Fill in the fields below, then reference the result from later steps as
{{updateDeploymentProjects.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"create": [
{
"external_id": "prj_abc123",
"name": "my-directus-app"
}
],
"delete": [
"00000000-0000-0000-0000-000000000000"
]
}
Response
Returns 200 with an object. Read it in later steps with {{updateDeploymentProjects.response.data.<field>}}.
{
"data": [
{
"id": "00000000-0000-0000-0000-000000000000",
"external_id": "string",
"name": "string",
"url": "string",
"framework": "string",
"deployable": false
}
]
}
Need more? See the Directus guide for connection setup and behaviour shared by every action.
Was this page helpful?