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 v2.0.0 on 5-Nov-2019
Back to top