Groups

Groups

Get Group Details

Securityx-api-key
Request
path Parameters
group-identifier
required
string
header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to.

Responses
200

Example response

get/v1/groups/{group-identifier}
Request samples
Response samples
application/json
{
  • "group": {
    }
}

Delete a group

Securityx-api-key
Request
path Parameters
group-identifier
required
string
header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to.

Responses
204

No Content

delete/v1/groups/{group-identifier}
Request samples

Get all groups for account

Securityx-api-key
Request
header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to.

Responses
200

Example response

get/v1/groups
Request samples
Response samples
[
  • {
    }
]

Save a group

Securityx-api-key
Request
header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to.

Request Body schema: application/json
object (Group)
Responses
200

Example response

post/v1/groups
Request samples
application/json
{
  • "group": {
    }
}
Response samples
application/json
{
  • "group": {
    }
}

Update Groups

Securityx-api-key
Request
header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to.

Request Body schema: application/json
Array
object (Group)
Responses
200

Example response

put/v1/groups
Request samples
application/json
[
  • {
    }
]
Response samples
[
  • {
    }
]

Get Groups Yaml

Securityx-api-key
Request
header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to.

Responses
200

Example response

get/v1/groups/yaml
Request samples
Response samples
{
  • "yaml": "string"
}

Get workflows for account

Securityx-api-key
Request
query Parameters
page
integer
Default: 0

Pagination page number strategy: Specify the page number within the paginated collection related to the number of items in each page

limit
integer <= 100
Default: 30

Pagination: Number of items to return.

header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to.

Responses
200

Example response

get/v1/groups/workflows
Request samples
Response samples
{
  • "workflows": [
    ]
}