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


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.


Sample requests

&<Common request parameters>

Sample success responses

XML format

   <Message>operation permitted</Message>

JSON format

    "RequestId": "ED817C83-F11A-430C-99E1-34A30A8DF42E",
    "HostId": "",
    "Code": "Forbidden",
    "Message": "operation permitted"

Error codes

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