deleteRecipientGroup
- Print
- PDF
deleteRecipientGroup
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Deletes a recipient group. (It only deletes the relation information with the recipient group to delete, if the group contains email addresses.)
DELETE https://{endpoint}/address-book/recipient-groups
Request
Request Parameters
Parameter | Required | Type | Limitation | Description |
---|---|---|---|---|
groupName | Y | String | Recipient group name |
Response
HTTP status code | Description |
---|---|
200 | Recipient group deleted successfully. |
400 | Authentication failed, invalid request. |
500 | Server error |
Example
Request Example
DELETE https://mail.apigw.ntruss.com/api/v1/address-book/recipient-groups?groupName=20대
Response Example
{
"totalAddressCount": 4300,
"groups": [
{
"sid": 155,
"groupName": "Teens",
"addressCount": 3900
},
{
"sid": 159,
"groupName": "Male",
"addressCount": 1000
}
}
Properties
Property | Required | Type | Limitation | Description |
---|---|---|---|---|
totalAddressCount | Y | Integer | Total number of email addresses | |
groups | N | List<AddressBookResponse> | List of recipient groups |
Error Codes
HTTP status code | Return code | Response message |
---|---|---|
400 | 77101 | Error in login information |
400 | 77102 | BAD_REQUEST |
400 | 77103 | Resource not found |
403 | 77201 | No permissions |
403 | 77202 | No subscription |
405 | 77001 | METHOD_NOT_ALLOWED |
415 | 77002 | UNSUPPORTED_MEDIA_TYPE |
500 | 77301 | Default project not found |
500 | 77302 | Error in working with external system API |
500 | 77303 | Other INTERNAL_SERVER_ERROR |
Was this article helpful?