ApiDatabus datasources
Delete a datasource
Remove a datasource permanently by its UUID. Requires proper access rights
Access restricted to roles:
- admin
- manufacturer-admin
- manufacturer-user
Path Parameters
datasourceId*string
UUID of the datasource
Format
uuidResponse Body
application/json
application/json
application/json
curl -X DELETE "https://test.sweetconnect.io/api/databus-controller/v1/datasources/9488c561-749f-4b3d-8c2f-30e867ba66db"Empty
{
"errors": [
{
"errorCode": "RequestValidationError",
"message": "The 'username' field is required.",
"extension": {
"type": "body",
"key": "username"
}
}
]
}{
"errors": [
{
"errorCode": "Unauthorized",
"message": "Authentication is required to access this resource.",
"extension": {}
}
]
}{
"errors": [
{
"errorCode": "NoPermission",
"message": "You do not have permission to access this resource.",
"extension": {}
}
]
}