| HTTP状态码 | 错误码 | 描述 | 排查建议 |
|---|---|---|---|
| 404 | 1234016 | public mailbox not found | 请确认公共邮箱是否存在 |
| 409 | 1234033 | email address has been used by another member as login account | 邮件地址已被他人用作于登录邮箱,请使用其它邮件地址 |
| 400 | 1234008 | request parameter error | 请检查请求参数是否正确 |
| 409 | 1234006 | email address has been used | 邮件地址已被占用,请使用其它邮件地址 |
| 409 | 1234023 | email address alias exceed the number limit | 超出了邮箱别名限制 |
Authorization: Bearer ********************curl --location --request PATCH '/mail/v1/public_mailboxes/"xxxxxxxxxxxxxxx 或 test_public_mailbox@xxx.xx"' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "xxx",
"email": "xxx@xxx.xxx"
}'{
"code": 0,
"msg": "success",
"data": {
"public_mailbox_id": "xxx",
"email": "xx@xx.xx",
"name": "xxx"
}
}
【飞书】API开发者 微信交流群
用微信扫右侧二维码,加入【飞书】API开发者 交流群,互助沟通

扫码加入交流群