Skip to main content

entity_transfers

Creates, updates, deletes, gets or lists an entity_transfers resource.

Overview

Nameentity_transfers
TypeResource
Idlinode.account.entity_transfers

Fields

The following fields are returned by SELECT queries:

Returns an Entity Transfer object containing the details of the transfer for the specified token.

NameDatatypeDescription
createdstring (date-time)When this transfer was created. (example: 2021-02-11T16:37:03)
entitiesobjectA collection of the entities to include in this transfer request, separated by type.
expirystring (date-time)When this transfer expires. Transfers will automatically expire 24 hours after creation. (example: 2021-02-12T16:37:03)
is_senderbooleanFilterable If the requesting account created this transfer.
statusstringFilterable The status of the transfer request: accepted: The transfer has been accepted by another user and is currently in progress. Transfers can take up to 3 hours to complete. canceled: The transfer has been canceled by the sender. completed: The transfer has completed successfully. failed: The transfer has failed after initiation. pending: The transfer is ready to be accepted. stale: The transfer has exceeded its expiration date. It can no longer be accepted or canceled. (example: pending)
tokenstring (uuid)The token used to identify and accept or cancel this transfer. (example: 123E4567-E89B-12D3-A456-426614174000)
updatedstring (date-time)When this transfer was last updated. (example: 2021-02-11T16:37:03)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_entity_transferselectDeprecated Please run Get a service transfer request. OAuth scopes.

<br /> account:read_only<br />

Learn more...
get_entity_transfersselectpage, page_sizeDeprecated Please run List service transfers. OAuth scopes.

<br /> account:read_only<br />

Learn more...
post_entity_transferinsertdata__entitiesDeprecated Please run Request a service transfer. OAuth scopes.

<br /> account:read_write<br />

Learn more...
delete_entity_transferdeleteDeprecated Please run Cancel a service transfer. OAuth scopes.

<br /> account:read_write<br />

Learn more...
post_accept_entity_transferexecDeprecated Please run Accept a service transfer. OAuth scopes.

<br /> account:read_write<br />

Learn more...

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
pageintegerThe page of a collection to return.
page_sizeintegerThe number of items to return per page.

SELECT examples

Deprecated Please run Get a service transfer request. OAuth scopes.

<br /> account:read_only<br />

Learn more...

SELECT
created,
entities,
expiry,
is_sender,
status,
token,
updated
FROM linode.account.entity_transfers;

INSERT examples

Deprecated Please run Request a service transfer. OAuth scopes.

<br /> account:read_write<br />

Learn more...

INSERT INTO linode.account.entity_transfers (
data__entities
)
SELECT
'{{ entities }}' --required
RETURNING
created,
entities,
expiry,
is_sender,
status,
token,
updated
;

DELETE examples

Deprecated Please run Cancel a service transfer. OAuth scopes.

<br /> account:read_write<br />

Learn more...

DELETE FROM linode.account.entity_transfers;

Lifecycle Methods

Deprecated Please run Accept a service transfer. OAuth scopes.

<br /> account:read_write<br />

Learn more...

EXEC linode.account.entity_transfers.post_accept_entity_transfer 
;