PATCH
/
v1
/
job-agents
/
name
curl --request PATCH \
  --url https://api.ctrlplane.dev/api/v1/job-agents/name \
  --header 'Content-Type: application/json' \
  --data '{
  "workspaceId": "<string>",
  "name": "<string>",
  "type": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "workspaceId": "<string>"
}

Body

application/json
workspaceId
string
required
name
string
required
type
string
required

Response

200
application/json
Successfully retrieved or created the agent
id
string
required
name
string
required
workspaceId
string
required