Link a control to a ticket, or update the link
PUT
/api/models/{id}/controls/{controlId}/links/{linkTypeId}
const url = 'https://forge.example.com/api/models/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/controls/example/links/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"outsideId":"example","status":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
controlId
required
string
linkTypeId
required
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
outsideId
required
string
status
required
null | string
Example generated
{ "outsideId": "example", "status": "example"}Responses
Section titled “Responses”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"}default
Section titled “default”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"}