members/secondary_emails/delete
POST https://api.dropboxapi.com/2/team/members/secondary_emails/delete
members/secondary_emails/delete
scope: members.write
Delete secondary emails from users Permission : Team member management. Users will be notified of deletions of verified secondary emails at both the secondary email and their primary email.
Request Body
{"emails_to_delete"=>[{"user"=>{".tag"=>"team_member_id", "team_member_id"=>"dbmid:efgh5678"}, "secondary_emails"=>["bob2@hotmail.com", "bob@inst.gov"]}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"results":[{".tag":"success","user":{".tag":"team_member_id","team_member_id":"dbmid:efgh5678"},"results":[{".tag":"success","success":"alice@example.com"},{".tag":"not_found","not_found":"alic@example.com"}]}]}