| Code | Description |
|---|---|
| 400 | Various errors: the specific error is provided in the message field of the response |
| 401 | Token is invalid |
| 401 | You must authenticate to perform this request. |
| 404 | The requested resource was not found. |
curl -X "PUT" "http://manager.integration.cloudconnect.io/api/v2/services/remote_files/ssh_d21049fd3b45f5172dfa5d787ba9d05a/update_allowed_assets" \
-H "Content-Type: application/json" \
-H "Authorization: Basic OTgyNmI0ZjhjMTk4MWRhNjU1ZmY4ZDMxNWUxMmVjMzcyODlhZjY5MjpY" \
-H "Accept: application/json" \
-d $'{
"assets": ["XXXXXXXX1" , "XXXXXXXX2"],
}'
Response :
[
"XXXXXXXX1",
"XXXXXXXX2"
]
| Param name | Description |
|---|---|
|
_token
required |
Validations:
|
|
id
required |
Unique ID of your file save on the server Validations:
|
|
assets
required |
List of Imei that you allowed to download the file Validations:
|