Authenticate a Subuser

アカウント情報を表示する前にあなたのWebサイト上でサブユーザを認証します。これにより、あなたのWebサイト上で完全にSendGridのアカウントを管理することができます。

URI引数 必須 条件 説明
user Yes サブユーザは親アカウント配下に登録されている必要があります 認証するサブユーザのユーザ名
password Yes サブユーザの適切なパスワード 認証するサブユーザのパスワード
Parameter Value Requirements Description
1
9042469587

Call

POST https://api.sendgrid.com/apiv2/customer.auth.json
POST Data api_user=apikey&api_key=your_sendgrid_api_key&user=subuser_username&password=subuser_password_attempt

Response

1
2
3
{
  "message": "success"
}

Call

POST https://api.sendgrid.com/apiv2/customer.auth.xml
POST Data api_user=apikey&api_key=your_sendgrid_api_key&user=subuser_username&password=subuser_password_attempt

Response

1
2
3
<result>
   <message>success</message>
</result>