MoveInstanceRequest

Represents a request to move an instance from one location to another

This is how you can request to move an instance to a different folder or instance.

MoveInstanceRequest Properties

MoveInstanceRequest

Field Type Inherited from Description
SourceInstanceKey String MoveInstanceRequest Gets or sets the source instance key
ToInstanceKey String MoveInstanceRequest Gets or sets the destination instance key

JSON Structure of MoveInstanceRequest

{
   "SourceInstanceKey"	:	"String",
   "ToInstanceKey"	:	"String"
}

Move Instance Async

Example in C#

// Returns: nothing
await client.MoveInstanceAsync(InstanceInfo source, InstanceInfo newParentInstance);

Example in CURL



           curl -X POST \
               https://api.us.acresecurity.cloud/api/management/moveinstance \
               -H 'Authorization: Bearer TOKEN_GOES_HERE' \
               -H 'Content-Type: application/json' \
               -d '{
                       "$type":"Feenics.Keep.WebApi.Model.MoveInstanceRequest, Feenics.Keep.WebApi.Model",
                       "SourceInstanceKey":"INSTANCETOMOVE.KEY",
                       "ToInstanceKey":"NEWPARENTINSTANCE.KEY"
                   }'