delete
https://api.caas.staging.bancocdc.com.br/assignment/
The delete assignment route is responsible for deleting an assignment.
Attention points:
- To use the route, it is necessary to use the assignment code obtained through the assignment launch.
- If the current assignment status is not changeable by a partner (2, 3, 6, 7, 8) the API will return:
{ "request_code": "63d9cd45-c578-49a7-932f-6f7ef436738b", "return": false, "return_code": "400-30", "message": "Status unidentified or without permission to use." }
Response
| Http Code | Return Code | Message |
|---|---|---|
| 200 | 200-01 | Success. |
| 400 | 400-01 | Something unexpected happened. |
| 400 | 400-09 | There are no results for the query. |
| 401 | 401-06 | The requested module is not enabled. |
Response Parameters
| Parameter | Format | Description |
|---|---|---|
| request_code | String | Unique identifier for the request |
| return | Boolean | Indicates if the request was successful |
| return_code | String | Code indicating the result of the request |
| message | String | Description of the result of the request |