List the exclusions of an attack surface
Changed onRetrieve the assets that were excluded from an attack surface. Each asset is in the form you would send to add or remove it, except for types that cannot be named in a request (see type).<br><br>This endpoint does not cost credits to execute.
Request
- Base URLhttps://api.platform.censys.io
- URLhttps://api.platform.censys.io/v1/attacksurfaces/{attack_surface_id}/excludes
- AuthHTTP bearer
Path parameters
The ID of the attack surface, or the literal 'default' for your organization's attack surface. Obtain the attack surface ID using the list attack surfaces endpoint.
Query parameters
The ID of a Censys organization to associate the request with. See the Getting Started docs for more information.
Maximum number of assets to return per page.
Pagination token from a previous response to retrieve the next page of results.
Headers
The ID of a Censys organization to associate the request with. See the Getting Started docs for more information. Note: The header parameter is supported for atypical use cases; we recommend always providing this field via the query parameter.
Response
Assets listed successfully
Example response
{
"result": {
"assets": [
{
"asset": "8.8.8.0/24"
}
]
}
}Changes
- info
endpoint added
- info