edit-icon download-icon

Delete a domain name

Last Updated: May 17, 2017

Description

This function is for unbinding the custom domain name of an API group.

  • This function is intended for API providers.
  • If a nonexistent domain name is deleted, the returned result shows the deletion is successful.
  • Domain name deletion affects API access. Confirm the impact before deletion, and exercise caution when using this interface.

Request parameters

Name Type Required? Description
Action String Yes Interface name, which is a required parameter; value: DeleteDomain.
GroupId String Yes API group ID, which is generated by the system and globally unique.
DomainName String Yes Custom domain name.

Returned parameters

Name Type Description
RequestId String Unique request ID.

Examples

Request example

  1. https://apigateway.cn-hangzhou.aliyuncs.com/?Action=DeleteDomain
  2. &GroupId=927d50c0f2e54b359919923d908bb015
  3. &DomainName=api.demo.com
  4. &<Public request parameters>

Response example

XML format

  1. <DeleteDomainResponse>
  2. <RequestId>6EF60BEC-0242-43AF-BB20-270359FB54A7</RequestId>
  3. </DeleteDomainResponse>

JSON format

  1. {
  2. "RequestId": "6EF60BEC-0242-43AF-BB20-270359FB54A7"
  3. }
Thank you! We've received your feedback.