Skip to content

Assigning the target role created via API #1675

@melnikovats1

Description

@melnikovats1

I want to automate target creation. I create them via API, everything is fine, but I cannot assign a role to the created target.
I see the allow_roles field in the create_target method in the API documentation. But this array is empty. It is very inconvenient to go to the UI and assign roles manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions