     Relationship.remove {
       targetName : 'JStackTemplate'
       targetId   : @baseStackId
-      sourceId   : owner.getId()
+      sourceId   : @originId
       sourceName : 'JAccount'
       as         : 'user'
     }, (err) =>


    success: (client, callback) ->

      { delegate } = client.connection

      @delete owner = delegate, callback


  SUPPORTED_CREDS = (Object.keys PROVIDERS).concat ['userInput', 'custom']

    daisy queue


  delete: (callback) ->

    # TODO Implement delete methods.
    @update { $set: { status: 'Terminating' } }
