Deletes the data sources of attack surfaces of a specified organization.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteOrgAttackSurfaceRecords

The operation that you want to perform. Set the value to DeleteOrgAttackSurfaceRecords.

OrgId Integer Yes 1

The ID of the organization.

Records.N RepeatList Yes 1

The ID of record N.

Source String Yes Ports

The data source. Valid values:

  • Subdomains: subdomains
  • Ports: ports
  • Hosts: hosts
  • DNSMap: DNS records
  • WebPaths: web file paths
  • WebTechs: web applications

Response parameters

Parameter Type Example Description
RequestId String E345DD9F-3800-42DC-8E8E-47C57888373C

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteOrgAttackSurfaceRecords
&OrgId=1
&Records.1=1
&Source=Ports
&<Common request parameters>

Sample success responses

XML format

<DeleteOrgAttackSurfaceRecordsResponse>
   <RequestId>ED817C83-F11A-430C-99E1-34A30A8DF42E</RequestId>
   <HostId>avds.aliyuncs.com</HostId>
   <Code>Forbidden</Code>
   <Message>operation permitted</Message>
</DeleteOrgAttackSurfaceRecordsResponse>

JSON format

{
    "RequestId": "ED817C83-F11A-430C-99E1-34A30A8DF42E",
    "HostId": "avds.aliyuncs.com",
    "Code": "Forbidden",
    "Message": "operation permitted"
}

Error codes

For a list of error codes, visit the API Error Center.