Partner

Partner設定

Partner設定一覧の取得 [GET]

URI引数 必須 条件 説明
limit No number 結果を取得する件数を制限します。
Example: 20
offset No number 結果を取得する位置のオフセットを指定します。
Example: 1

Request

1
GET https://api.sendgrid.com/v3/partner_settings?limit={limit}&offset={offset} HTTP/1.1

Response

1
2
3
4
5
6
7
8
9
10
11
HTTP/1.1 200
{
  "result": [
    {
      "name": "new_relic",
      "title": "New Relic",
      "description": "lorem ipsum... .",
      "enabled": true
    }
  ]
}

New Relic設定の取得 [GET]

Request

1
GET https://api.sendgrid.com/v3/partner_settings/new_relic HTTP/1.1

Response

1
2
3
4
5
HTTP/1.1 200
{
  "enabled": true,
  "license_key": "key"
}

New Relic設定の更新 [PATCH]

Request

1
PATCH https://api.sendgrid.com/v3/partner_settings/new_relic HTTP/1.1
Request Body
1
2
3
4
{
  "enabled": true,
  "license_key": "key"
}

Response

1
2
3
4
5
HTTP/1.1 200
{
  "enabled": true,
  "license_key": "key"
}