Security Policy
Operation successful.
Whether members may publish workflows and agents from their personal space.
trueWhether members may share workflows and credentials from their personal space.
trueNumber of currently published personal workflows, shown for awareness before tightening the policy.
3Number of personal workflows currently shared with other users.
5Number of personal credentials currently shared with other users.
2Unauthorized
Forbidden
GET /api/v1/settings/security-policy HTTP/1.1
X-N8N-API-KEY: YOUR_API_KEY
Accept: */*
{
"personalSpacePublishing": true,
"personalSpaceSharing": true,
"publishedPersonalWorkflowsCount": 3,
"sharedPersonalWorkflowsCount": 5,
"sharedPersonalCredentialsCount": 2,
"redactionEnforcement": {
"floor": "production"
}
}Full security policy. All writable fields must be provided; partial updates are not supported.
Whether members may publish workflows and agents from their personal space.
falseWhether members may share workflows and credentials from their personal space.
falseRead-only usage count returned by GET. Ignored on write so a GET response can be sent back as a PUT body.
Read-only usage count returned by GET. Ignored on write so a GET response can be sent back as a PUT body.
Read-only usage count returned by GET. Ignored on write so a GET response can be sent back as a PUT body.
Operation successful.
Whether members may publish workflows and agents from their personal space.
trueWhether members may share workflows and credentials from their personal space.
trueNumber of currently published personal workflows, shown for awareness before tightening the policy.
3Number of personal workflows currently shared with other users.
5Number of personal credentials currently shared with other users.
2The request is invalid or provides malformed data.
Unauthorized
Forbidden
Conflict
PUT /api/v1/settings/security-policy HTTP/1.1
X-N8N-API-KEY: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 212
{
"personalSpacePublishing": false,
"personalSpaceSharing": false,
"redactionEnforcement": {
"floor": "production"
},
"publishedPersonalWorkflowsCount": 1,
"sharedPersonalWorkflowsCount": 1,
"sharedPersonalCredentialsCount": 1
}{
"personalSpacePublishing": true,
"personalSpaceSharing": true,
"publishedPersonalWorkflowsCount": 3,
"sharedPersonalWorkflowsCount": 5,
"sharedPersonalCredentialsCount": 2,
"redactionEnforcement": {
"floor": "production"
}
}Last updated
Was this helpful?