Skip to main content

List API User Targets

GET 

/api-users/:user_id/targets/

Request

Path Parameters

    user_id stringrequired

Query Parameters

    enabled boolean
    exclude_team string[]

    Names of the teams to exclude from results, as a query string. For example, "exclude_team=Frontend" or "exclude_team=Frontend&exclude_team=Backend".

    label string[]

    Target labels to filter results, as a query string. For example, "label=Production" or "label=Production&label=QA".

    label_logical_operator string

    Possible values: [and, or]

    Logical operator to apply between target labels.

    • and - and
    • or - or
    length integerrequired

    Number of results to return per page.

    ordering stringrequired

    Which field to use when ordering the results.

    page integerrequired

    A page number within the paginated result set.

    risk integer[]

    Possible values: [0, 10, 20, 30]

    Target risk to filter results:

    • 10 - Low risk.
    • 20 - Medium risk.
    • 30 - High risk.
    • 0 - Not applicable.
    role string[]
    scan_profile string[]

    Identifiers of the scan profiles to filter results, separated by commas.

    search stringrequired

    A search term.

    team string[]

    Names of the teams to filter results, as a query string. For example, "team=Frontend" or "team=Frontend&team=Backend".

    type string[]
    unlimited boolean

    If true, filter results by targets with unlimited scans. If false, filter results by targets that use credits.

    verified boolean

Responses

Schema
    count integerrequired

    Total number of results.

    page_total integerrequired

    Total number of pages.

    page integerrequired

    Number of the current page.
    The first page is 1.
    Defaults to 1 if no specific page is requested.

    length integerrequired

    Number of results returned per page.

    results object[]
  • Array [
  • id stringrequired

    A unique Base58 value identifying this object.

    site objectrequired

    Core settings of the target.
    Includes basic target information like the name and URL.

    id stringrequired

    A unique Base58 value identifying this object.

    name stringrequired

    Name of the target or extra host.
    The maximum length is 255 characters.

    url stringrequired

    URL of the target.

    changed date-timerequired

    Date and time of the last change, in ISO 8601 UTC format.
    For example, "2023-08-09T13:27:43.8208302".

    changed_by objectrequired

    User who last made changes.

    id stringrequired

    A unique Base58 value identifying this object.

    email emailrequired

    Possible values: <= 254 characters

    Email of the user.

    name stringrequired

    Possible values: <= 60 characters

    Name of the user.

    user_roles stringrequired
    changed date-timerequired

    Date and time of the last change, in ISO 8601 UTC format.
    For example, "2023-08-09T13:27:43.8208302".

    changed_by objectrequired

    User who last made changes.

    id stringrequired

    A unique Base58 value identifying this object.

    email emailrequired

    Possible values: <= 254 characters

    Email of the user.

    name stringrequired

    Possible values: <= 60 characters

    Name of the user.

  • ]
Loading...