General Information
Service | API | Method |
---|---|---|
urac | /admin/group/edit | POST |
Data Model: Groups
Workflow: Edit Group Flow
Input
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
gId | Query | YES | String | N/A | The Group ID |
name | Body | YES | String | N/A | |
description | Body | YES | String | N/A |
Output
Valid Response
Valid Response Sample
{ "result": true, "data": true }
Invalid Response
Error Response Sample
{ "result":false, "errors":{ "codes":[417], "details":[ { "code":417, "message":"Invalid group id provided" } ] } }
Error Codes
Code | Description |
---|---|
417 | Invalid group id provided |
418 | Unable to edit Group. |
Example (CURL)
Request
Calling Edit Group API
> CURL -X POST http://127.0.0.1:4000/urac/admin/group/edit?gId=5 -d 'name=Gold Group&description=Group Description'
Response
Edit Group API response
{ "result": true, "data": true }
Add Comment