Skip to content

Link a control to a ticket, or update the link

PUT
/api/models/{id}/controls/{controlId}/links/{linkTypeId}
curl --request PUT \
--url https://forge.example.com/api/models/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/controls/example/links/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "outsideId": "example", "status": "example" }'

outsideId is the ticket’s id as its system shows it; it must match the ticket system’s pattern. status, optional, is the few words that system shows; it is kept with the time and the caller. For authors and the central team, and for a service account with the author role: that is how your own automation writes a ticket’s id and status back. The model is not changed.

id
required
string format: uuid
controlId
required
string
/^CTL-[0-9]{4}$/
linkTypeId
required
string format: uuid
Media typeapplication/json
object
outsideId
required
string
status
required
null | string

Example generated

{
"outsideId": "example",
"status": "example"
}

OK

Media typeapplication/json
object
linkTypeId
required
string format: uuid
linkTypeName
required
string
outsideId
required
string
url
required
string
status
required
null | string
statusAt
required
null | string format: date-time
statusBy
required
null | string
source
required
string

Example generated

{
"linkTypeId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"linkTypeName": "example",
"outsideId": "example",
"url": "example",
"status": "example",
"statusAt": "2026-04-15T12:00:00Z",
"statusBy": "example",
"source": "example"
}

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}