Move Report¶
POST /1.3/reports/move/{id}
Parameters¶
URL Path Parameters¶
Parameter | Required | Default | Description |
---|---|---|---|
id | X | the ID of the report to move from |
Query String Parameters¶
Parameter | Required | Default | Description |
---|---|---|---|
destEnclaveId | X | the ID of the enclave to move the report to |
Response (200)¶
A JSON containing the ID of the moved report, which is the same as the ID of the original report.
Example Usage¶
Request¶
curl -k -H "Content-Type: application/json" -X POST
-H "Authorization: Bearer {access_token}" "https://api.trustar.co/api/1.3/reports/move/81f89c56-265a-11e8-b467-0ed5f89f718b?destEnclaveId=0e93339b-15b6-48f9-b372-ff9e97fe9ac6"
Response¶
{
"id": "81f89c56-265a-11e8-b467-0ed5f89f718b
}