Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

General Information


ServiceAPIMethod
urac/admin/group/addUsersPOST


Data Model: Groups

Input


NameSourceMandatoryTypeSpecial FormatDescription
tIdBody or QueryYESStringN/AThe Tenant ID
codeBodyYESStringN/Adefined in the form as groupCode
usersBodyfalseArrayN/Aarray of usernames

 

Output


Valid Response

Valid Response Sample
{
	"result": true,
	"data": true
}

 

Invalid Response

Error Response Sample
{
    "result":false,
    "errors":{
        "codes":[600],
        "details":[
            {
                "code":600,
                "message":"Problem with the provided password"
            }
        ]
    }
}



Error Codes


 

Code
Description
600Database connection error


Example (CURL)


Request

Calling Add Users API
 > CURL -X POST http://127.0.0.1:4000/urac/admin/group/addUsers -d 'groupCode=bronze&users[]=user1&users[]=user2' 

Response

Add Users API response
{
	"result": true,
	"data": true
}
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.