...
...
General Information
...
Service | API | Method | Data Model | Workflow |
---|---|---|---|---|
urac | /admin/group/delete | DEL |
...
...
Description
This API deletes a group record that has an id that matches the one sent in the query from the tenant that has the external key sent in the request headers.
Input
...
Response
SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response
Type: application/json
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
gIdid | Query | YES | String | N/A | The Group ID |
Output
...
Valid Response
Code Block | ||||
---|---|---|---|---|
| ||||
{ "result": true, "data": true } |
Invalid Response
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "result":false, "errors":{ "codes":[415602], "details":[ { "code":415602, "message":"UnableModel toerror: find group.+ %model_error%" } ] } } |
...
language | js |
---|---|
title | Delete Group API response |
...
Code | Description |
---|
Request
Code Block | ||||
---|---|---|---|---|
| ||||
> CURL -X DEL http://127.0.0.1:4000/urac/admin/group/delete?gId=5 |
Response
400 | Business logic required data are missing |
602 | Model error: + %model_error% |