Customer Subuser Parse Settings
Manage Customer Subusers' Parse Settings.
URI Parameter
Required
Requirements
Description
task
Yes
Must be set to get
Retrieve Parse settings
user
Yes
Customer subuser must be registered under your account
The customer subuser who we will update
JSON
XML
POST
https://api.sendgrid.com/apiv2/reseller.manageSubuser.json
POST Data
api_user=your_sendgrid_username&api_key=your_sendgrid_password&method=parse&task=get&method=parse&user=example@example.com
{
"parse": [
{
"hostname": "www.example.com",
"url": "www.mydomain.com/parse.php",
"spam_check": 1
}
]
}
POST
https://api.sendgrid.com/apiv2/reseller.manageSubuser.xml
POST Data
api_user=your_sendgrid_username&api_key=your_sendgrid_password&method=parse&task=get&method=parse&user=example@example.com
<parse>
<entry>
<hostname>www.example.com</hostname>
<url>www.mydomain.com/parse.php</url>
<spam_check>1</spam_check>
</entry>
</parse>
URI Parameter
Required
Requirements
Description
task
Yes
Must be set to set
Set Parse settings
hostname
Yes
No more than 255 characters
Hostname we will use with your email
url
Yes
The parse destination
user
Yes
Customer subuser must be registered under your account
The customer subuser who we will update
JSON
XML
POST
https://api.sendgrid.com/apiv2/reseller.manageSubuser.json
POST Data
api_user=your_sendgrid_username&api_key=your_sendgrid_password&hostname=www.example.com&url=www.mydomain.com/parse.php&spam_check=1&method=parse&task=set&method=parse&user=example@example.com
POST
https://api.sendgrid.com/apiv2/reseller.manageSubuser.xml
POST Data
api_user=your_sendgrid_username&api_key=your_sendgrid_password&hostname=www.example.com&url=www.mydomain.com/parse.php&spam_check=1&method=parse&task=set&method=parse&user=example@example.com
<result>
<message>success</message>
</result>
URI Parameter
Required
Requirements
Description
task
Yes
Must be set to update
Set Parse settings
hostname
Yes
No more than 255 characters
Hostname entry you want to update
url
Yes
The parse destination
user
Yes
Customer subuser must be registered under your account
The customer subuser who we will update
JSON
XML
POST
https://api.sendgrid.com/apiv2/reseller.manageSubuser.json
POST Data
api_user=your_sendgrid_username&api_key=your_sendgrid_password&hostname=www.example.com&url=www.mydomain.com/parse.php&spam_check=1&method=parse&task=update&user=example@example.com
POST
https://api.sendgrid.com/apiv2/reseller.manageSubuser.xml
POST Data
api_user=your_sendgrid_username&api_key=your_sendgrid_password&hostname=www.example.com&url=www.mydomain.com/parse.php&spam_check=1&method=parse&task=update&user=example@example.com
<result>
<message>success</message>
</result>
URI Parameter
Required
Requirements
Description
task
Yes
Must be set to delete
Set Parse settings
user
Yes
Customer subuser must be registered under your account
The customer subuser who we will update
hostname
Yes
Must be the hostname you wish to delete.
The host name you will remove for your customer subuser
JSON
XML
POST
https://api.sendgrid.com/apiv2/reseller.manageSubuser.json
POST Data
api_user=your_sendgrid_username&api_key=your_sendgrid_password&hostname=www.example.com&task=delete&method=parse&user=example@example.com
POST
https://api.sendgrid.com/apiv2/reseller.manageSubuser.xml
POST Data
api_user=your_sendgrid_username&api_key=your_sendgrid_password&hostname=www.example.com&task=delete&method=parse&user=example@example.com
<result>
<message>success</message>
</result>