Requires any of the roles: | SystemAdministrator, Manager, Customer |
DELETE | /addresses/{addressId} |
---|
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum
# @Api(Description="Delete the specified address")
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class DeleteAddress:
"""
Delete the specified address
"""
account_id: Optional[str] = None
# @ApiMember(Description="The ID of the address you want to delete")
address_id: Optional[str] = None
"""
The ID of the address you want to delete
"""
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /addresses/{addressId} HTTP/1.1 Host: team.evovoice.io Accept: text/jsonl