PUT /a/role/{Uuid}

Create or update a Role

Body Parameters

Name Description Type Required
AutoApplies List of profiles (standard, shared, admin) on which the role will be automatically applied array
ForceOverride boolean
GroupRole Whether this role is attached to a Group object boolean
IsTeam Whether this role represents a user team or not boolean
Label Label of this role string
LastUpdated Last modification date of the role integer
Policies List of policies for securing this role access array
PoliciesContextEditable Whether the policies resolve into an editable state boolean
UserRole Whether this role is attached to a User object boolean
Uuid Unique identifier of this role string

Body Example

{
  "AutoApplies": [
    "string"
  ],
  "ForceOverride": true,
  "GroupRole": true,
  "IsTeam": true,
  "Label": "string",
  "LastUpdated": 10,
  "Policies": [
    {
      "Action": "string",
      "Effect": "string",
      "JsonConditions": "string",
      "Resource": "string",
      "Subject": "string",
      "id": "string"
    }
  ],
  "PoliciesContextEditable": true,
  "UserRole": true,
  "Uuid": "string"
}

Response Example (200)

Response Type /definitions/idmRole

{
  "AutoApplies": [
    "string"
  ],
  "ForceOverride": true,
  "GroupRole": true,
  "IsTeam": true,
  "Label": "string",
  "LastUpdated": 10,
  "Policies": [
    {
      "Action": "string",
      "Effect": "string",
      "JsonConditions": "string",
      "Resource": "string",
      "Subject": "string",
      "id": "string"
    }
  ],
  "PoliciesContextEditable": true,
  "UserRole": true,
  "Uuid": "string"
}
Auto generated by Pydio Cells Enterprise Distribution v2.0.0 on 5-Nov-2019
Back to top