Blocks
Query and Delete the available Blocks in SendGrid.
テーブル固有の情報
Select
このテーブルからデータを取得する期間を指定する必要があります。指定しない場合は、過去120日間のデフォルト期間が適用されます。CreatedAt カラムは、>、<、=、<=、および>= 演算子をサポートします。
SELECT * FROM Blocks WHERE CreatedAt > '2016-01-01' AND CreatedAt < '2016-01-30'
Delete
Email を指定することでBlocks から削除できます。
DELETE FROM Blocks WHERE Email = '[email protected]'
Columns
| Name | Type | ReadOnly | References | Description |
| CreatedAt | Datetime | True |
The time the block was created. | |
| Reason | String | False |
The reason for the block. | |
| Email [KEY] | String | False |
The email that blocked. | |
| Status | String | False |
The enhanced SMTP block response. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| AccountId | String |
The ID of the account. |
| SubuserUsername | String |
The username of the subuser. |