Path: / API / identityAPI / addRole / {name} / {label}

Create a new role

Path parameters:
name - the role's name
label - the role's label

Method Summary
ResourceDescription
POST /API/identityAPI/addRole/{name}/{label}Create a new role

Method Detail
HTTP Example:
POST /API/identityAPI/addRole/{name}/{label}

description=&options=
API Example:

AbstractRemoteIdentityAPI.addRole({'name': /* name the role's name */,
  'label': /* label the role's label */,
  'description': /* description the role's description */,
  'options': /* options the options map (domain, queyList, user) */});

Create a new role

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