Path: / API / identityAPI / updateRole

Update a role


Method Summary
ResourceDescription
POST /API/identityAPI/updateRoleUpdate a role

Method Detail
HTTP Example:
POST /API/identityAPI/updateRole

description=&name=&label=&options=&oldName=
API Example:

AbstractRemoteIdentityAPI.updateRole({'description': /* description the role's description */,
  'name': /* name the role's name */,
  'label': /* label the role's label */,
  'options': /* options the options map (domain, queyList, user) */,
  'oldName': /* oldName the actual role name of the role to update */});

Update a role

Output:
org.ow2.bonita.facade.identity.Role -
Form parameters:
description - the role's description
name - the role's name
label - the role's label
options - the options map (domain, queyList, user)
oldName - the actual role name of the role to update
Produces:
text/*
application/xml
Consumes:
application/x-www-form-urlencoded
text/*
application/xml