Skip to main content
POST
/
v1
/
organizations
/
{organizationUid}
/
seed-groups
/
{seedGroupUid}
/
tags
/
batchUpdate
cURL
curl --request POST \
  --url https://client.synack.com/api/asset-discovery/v1/organizations/{organizationUid}/seed-groups/{seedGroupUid}/tags/batchUpdate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "seedGroupTagsToDelete": [
    "<string>"
  ],
  "seedGroupTagsToAdd": [
    "<string>"
  ],
  "seedUids": [
    "<string>"
  ],
  "seedTagsToDelete": [
    "<string>"
  ],
  "seedTagsToAdd": [
    "<string>"
  ]
}
'
{
  "type": "<string>",
  "title": "<string>",
  "status": 305,
  "detail": "<string>",
  "instance": "<string>",
  "failedValidation": [
    {
      "message": "<string>",
      "property": "<string>",
      "value": "<string>"
    }
  ],
  "failedValidations": [
    {
      "index": 123,
      "failedValidation": [
        {
          "message": "<string>",
          "property": "<string>",
          "value": "<string>"
        }
      ]
    }
  ],
  "maxBatchSize": 123,
  "batchSize": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

organizationUid
string
required

Unique identifier for an organization group. Unique identifier for an organization.

Pattern: ^[-_0-9a-z]{1,50}
seedGroupUid
string
required

Unique identifier for a seed group.

Pattern: ^[0-9a-f]{12}

Body

application/json

Tags update.

Tags to remove and add to seeds and seed group

seedGroupTagsToDelete
string[]

Array of tags to delete from the seed group.

Pattern: ^[-_0-9a-zA-Z]{1,16}
seedGroupTagsToAdd
string[]

Array of tags to add to the seed group.

Pattern: ^[-_0-9a-zA-Z]{1,16}
seedUids
string[]

Array of seed uids to apply tag update to.

Unique identifier for a seed.

Pattern: ^[0-9a-f]{24}
seedTagsToDelete
string[]

Array of tags to delete from the supplied seeds.

Pattern: ^[-_0-9a-zA-Z]{1,16}
seedTagsToAdd
string[]

Array of tags to add to the supplied seeds.

Pattern: ^[-_0-9a-zA-Z]{1,16}

Response

No content.