Move Asset API
This API allows moving an asset from one Organization to another.
Authorization
This API call requires a token. The token should be provided in the headers as:
Authorization: Bearer <token>
The token should be a valid user token obtained via the Login API.
API Path: /api/archive
Query Parameters
Name
| Value
| Requirement
| Info
|
action
| moveAsset
| Mandatory
|
|
assetId
| Number
| Mandatory
| The ID of the asset that is moved.
|
organizationTo
| Number
| Mandatory
| The ID of the Organization, to which the asset should be moved to.
|
- /api/archive?action=moveAsset&assetId=<assetId>&organizationTo=<organizationId>
Response
A successful response will have the HTTP status code 200 and will contain "status": "ok" in the JSON response.
A failed response will have the HTTP status code 200 and will contain "status": "error" in the JSON response.