curl --request PATCH \
--url https://api.openworklabs.com/v1/connector-targets/{connectorTargetId} \
--header 'Content-Type: application/json' \
--data '
{
"remoteId": "<string>",
"externalTargetRef": "<string>",
"config": {}
}
'{
"ok": true,
"item": {
"id": "<string>",
"connectorInstanceId": "<string>",
"connectorType": "github",
"remoteId": "<string>",
"targetKind": "repository_branch",
"externalTargetRef": "<string>",
"targetConfigJson": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Updates one connector target.
curl --request PATCH \
--url https://api.openworklabs.com/v1/connector-targets/{connectorTargetId} \
--header 'Content-Type: application/json' \
--data '
{
"remoteId": "<string>",
"externalTargetRef": "<string>",
"config": {}
}
'{
"ok": true,
"item": {
"id": "<string>",
"connectorInstanceId": "<string>",
"connectorType": "github",
"remoteId": "<string>",
"targetKind": "repository_branch",
"externalTargetRef": "<string>",
"targetConfigJson": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
}Den TypeID with 'ctg_' prefix and a 26-character base32 suffix.
30^ctg_.*Was this page helpful?