deleteRecipientGroupRelationEmpty
    • PDF

    deleteRecipientGroupRelationEmpty

    • PDF

    Article Summary

    Emptying an email recipient group (This action only deletes information associating email addresses to a recipient group and does not actually delete the email addresses.)

    DELETE https://{endpoint}/address-book/recipient-groups/address/empty
    

    Requests

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    groupNameYesStringRecipient group name

    Responses

    HTTP status codeDescription
    200Successful emptying of recipient group
    400Authentication failed; bad request
    500Server error

    Examples

    Request examples

    DELETE https://mail.apigw.ntruss.com/api/v1/address-book/recipient-groups/address/empty?groupName=teenager
    

    Response examples

    {
      "totalAddressCount": 4300,
      "groups": [
        {
          "sid": 155,
          "groupName": "Teenager",
          "addressCount": 0
        },
        {
          "sid": 159,
          "groupName": "Male",
          "addressCount": 1000
        }
    }
    

    Properties

    ItemRequirement statusTypeRestrictionsDescription
    totalAddressCountYesIntegerTotal number of email addresses
    groupsNoList<AddressBookResponse>Recipient group list

    Errors

    HTTP Status CodeReturn codeResponse message
    40077101Login information error
    40077102BAD_REQUEST
    40077103Resource does not exist
    40377201No permission
    40377202No prior request to subscribe to email service
    40577001METHOD_NOT_ALLOWED
    41577002UNSUPPORTED_MEDIA_TYPE
    50077301Default project does not exist
    50077302External system API linkage error
    50077303Other INTERNAL_SERVER_ERROR

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.