Restore Connector from bin.
Restore Connector from bin.
Sign in to run requests against the CDE API.
Authorization
oAuth2AuthCode AuthorizationBearer <token>
In: header
Path Parameters
publicId*string
Format
uuidResponse Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://cde.staging.productsup.com/connectors/{movedToBinPublicId}/restore-from-bin"{
"message": "Connector has been restored from bin.",
"resource": "connector",
"data": {
"id": "019e16f4-abc0-7901-9c6e-97ad896c94ce",
"type": "datasource",
"name": "Name",
"description": "Description",
"readme": null,
"flow": "default",
"main-version-number": null,
"owner": "019e16f4-abbc-7ae5-b6af-904554199980",
"integrator": "019e16f4-abbc-7ae5-b6af-904554199980",
"versions": [
{
"name": "Name",
"description": "Description",
"readme": null,
"version": "1.0.0",
"logo": null,
"created-at": "2026-05-11T14:13:14+02:00",
"updated-at": "2026-05-11T14:13:14+02:00",
"deleted-at": null,
"state": "created",
"config": {
"update-progress": [],
"secret-registrations": [],
"authentication-registrations": [],
"authentication-registrations-additional-fields": [],
"application": null,
"vcs": null,
"docker": {
"image-name": null,
"image-tag": null,
"registry-url": null
},
"individuals": [],
"migration": null,
"execution": {
"execution-mode": "as-env-variables",
"container-api-image": "test.domain.docker/test/container-api-image:1.0.0",
"docker-host": null,
"container-api": {
"image": null,
"version-constraint": "^9.9.9"
}
},
"export": null,
"data-service": null,
"datasource": {
"categories": []
},
"buckets": [],
"feature-flags": [],
"container-api-config": null
},
"platform_dev_reference": {
"account": null,
"project": null,
"executable": null,
"platform-connector": null,
"site": null,
"site-processing-cluster": null,
"assigned-to-site": null,
"assigned-to-channel": null,
"assigned-to-channel-site": null,
"assigned-to-channel-site-destination": null,
"runtime": {
"environment": "bin-docker-wrapper",
"version": "14.40.98"
}
},
"platform_prod_reference": {
"executable": null,
"platform-connector": null,
"target-accounts": [],
"target-projects": [],
"target-sites": [],
"enabled-for-accounts": [],
"enabled-for-projects": [],
"enabled-for-sites": [],
"assigned-to-sites": [],
"released": false,
"version": null,
"runtime": {
"environment": "bin-docker-wrapper",
"version": "14.40.98"
}
},
"prod_config": null,
"dev_config": null
},
{
"name": "Name",
"description": "Description",
"readme": null,
"version": "2.0.0",
"logo": null,
"created-at": "2026-05-11T14:13:14+02:00",
"updated-at": "2026-05-11T14:13:14+02:00",
"deleted-at": null,
"state": "created",
"config": {
"update-progress": [],
"secret-registrations": [],
"authentication-registrations": [],
"authentication-registrations-additional-fields": [],
"application": null,
"vcs": null,
"docker": {
"image-name": null,
"image-tag": null,
"registry-url": null
},
"individuals": [],
"migration": null,
"execution": {
"execution-mode": "as-env-variables",
"container-api-image": "test.domain.docker/test/container-api-image:1.0.0",
"docker-host": null,
"container-api": {
"image": null,
"version-constraint": "^9.9.9"
}
},
"export": null,
"data-service": null,
"datasource": {
"categories": [
"miscellaneous"
]
},
"buckets": [],
"feature-flags": [],
"container-api-config": null
},
"platform_dev_reference": {
"account": null,
"project": null,
"executable": null,
"platform-connector": null,
"site": null,
"site-processing-cluster": null,
"assigned-to-site": null,
"assigned-to-channel": null,
"assigned-to-channel-site": null,
"assigned-to-channel-site-destination": null,
"runtime": {
"environment": "bin-docker-wrapper",
"version": "19.20.7"
}
},
"platform_prod_reference": {
"executable": null,
"platform-connector": null,
"target-accounts": [],
"target-projects": [],
"target-sites": [],
"enabled-for-accounts": [],
"enabled-for-projects": [],
"enabled-for-sites": [],
"assigned-to-sites": [],
"released": false,
"version": null,
"runtime": {
"environment": "bin-docker-wrapper",
"version": "19.20.7"
}
},
"prod_config": null,
"dev_config": null
},
{
"name": "Name",
"description": "Description",
"readme": null,
"version": "3.0.0",
"logo": null,
"created-at": "2026-05-11T14:13:14+02:00",
"updated-at": "2026-05-11T14:13:14+02:00",
"deleted-at": null,
"state": "created",
"config": {
"update-progress": [],
"secret-registrations": [],
"authentication-registrations": [],
"authentication-registrations-additional-fields": [],
"application": null,
"vcs": null,
"docker": {
"image-name": null,
"image-tag": null,
"registry-url": null
},
"individuals": [],
"migration": null,
"execution": {
"execution-mode": "as-env-variables",
"container-api-image": "test.domain.docker/test/container-api-image:1.0.0",
"docker-host": null,
"container-api": {
"image": null,
"version-constraint": "^9.9.9"
}
},
"export": null,
"data-service": null,
"datasource": {
"categories": [
"miscellaneous"
]
},
"buckets": [],
"feature-flags": [],
"container-api-config": null
},
"platform_dev_reference": {
"account": null,
"project": null,
"executable": null,
"platform-connector": null,
"site": null,
"site-processing-cluster": null,
"assigned-to-site": null,
"assigned-to-channel": null,
"assigned-to-channel-site": null,
"assigned-to-channel-site-destination": null,
"runtime": {
"environment": "bin-docker-wrapper",
"version": "15.30.75"
}
},
"platform_prod_reference": {
"executable": null,
"platform-connector": null,
"target-accounts": [],
"target-projects": [],
"target-sites": [],
"enabled-for-accounts": [],
"enabled-for-projects": [],
"enabled-for-sites": [],
"assigned-to-sites": [],
"released": false,
"version": null,
"runtime": {
"environment": "bin-docker-wrapper",
"version": "15.30.75"
}
},
"prod_config": null,
"dev_config": null
}
],
"main": null
}
}{
"message": "You have to be authorized to access this resource."
}{
"message": "Access denied for user."
}{
"message": "Connector not found."
}How is this guide?