PUT /a/policy

[Enterprise Only] Update or create a security policy

Body Parameters

Name Description Type Required
Description string
LastUpdated integer
Name string
OwnerUuid string
Policies array
ResourceGroup #/definitions/idmPolicyResourceGroup
Uuid string

Body Example

{
  "Description": "string",
  "LastUpdated": 10,
  "Name": "string",
  "OwnerUuid": "string",
  "Policies": [
    {
      "actions": [
        "string"
      ],
      "conditions": {},
      "description": "string",
      "effect": "string",
      "id": "string",
      "resources": [
        "string"
      ],
      "subjects": [
        "string"
      ]
    }
  ],
  "ResourceGroup": "string",
  "Uuid": "string"
}

Response Example (200)

Response Type /definitions/idmPolicyGroup

{
  "Description": "string",
  "LastUpdated": 10,
  "Name": "string",
  "OwnerUuid": "string",
  "Policies": [
    {
      "actions": [
        "string"
      ],
      "conditions": {},
      "description": "string",
      "effect": "string",
      "id": "string",
      "resources": [
        "string"
      ],
      "subjects": [
        "string"
      ]
    }
  ],
  "ResourceGroup": "string",
  "Uuid": "string"
}
Auto generated by Pydio Cells Enterprise Distribution v4.4.3 on 18-Jun-2024
Back to top