Skip to main content
PUT
/
v3
/
targets
/
{target}
Edit a Target
curl --request PUT \
  --url http://localhost/api/v3/targets/{target} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "url": "<string>",
  "template": "<string>",
  "notes": "<string>",
  "description": "<string>",
  "condition": [
    "<string>"
  ]
}
'
{
  "data": {
    "id": 123,
    "url": "<string>",
    "name": "<string>",
    "handle": "<string>",
    "template": "<string>",
    "description": "<string>",
    "notes": "<string>",
    "condition": [
      "<unknown>"
    ],
    "created_at": "<string>",
    "updated_at": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.omneo.io/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

target
integer
required

The target ID

Body

application/json
name
string
url
string
template
string
notes
string | null
description
string | null
condition
string[] | null

Response

Target

data
Target · object
required