Skip to main content
PUT
/
v1
/
targets
/
{projectId}
/
{targetId}
Update Target Status
curl --request PUT \
  --url http://localhost:3004/v1/targets/{projectId}/{targetId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "enabled": true
}
'
Enable or disable a target without deleting it.

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
string
required
targetId
string
required

Body

application/json
enabled
boolean

Response

200

Status updated