Add/remove assets from policy

This operation enables you to add assets to and/or remove assets from a custom policy. Both of these procedures can be performed in a single request.

NOTE: Sites are the only asset type supported for this operation.

Path Params
int32
required

Custom policy id.

Body Params

Holds the information to assign or remove assets from vuln custom policy.

sites
array of numbers
sites
Responses

400

BadRequestResponse indicates a request with invalid parameters.

401

UnauthorizedResponse signals an unauthorized API access.

403

ForbiddenResponse signals a request for a resource that does not exist or is not authorized.

500

GenericError generic error.

Language
Response
Choose an example:
application/json