MoveInstanceRequest

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 SourceInstanceKey value
ToInstanceKey String MoveInstanceRequest Gets or sets the ToInstanceKey value

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://keepapi.feenicshosting.com/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"
                   }'