Path: / API / identityAPI / importRole / {uuid} / {name}

Import a role

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

Method Summary
ResourceDescription
POST /API/identityAPI/importRole/{uuid}/{name}?label=Import a role

Method Detail
HTTP Example:
POST /API/identityAPI/importRole/{uuid}/{name}?label=

description=&options=
API Example:

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

Import a role

Output:
org.ow2.bonita.facade.identity.Role - the {@link Role} created
Query parameters:
label - the role's label
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