Delete User Data
With the various micro services provided by SAP IoT, you can configure metadata objects such as package or thing type and create data for the metadata objects. These services when called persists the user data field username. If the user’s consent to persist personal or private data is withdrawn, you must delete such data. You can use the service described in this topic to delete the user data username.
Deletion of user data is not a one-time activity. Though the user data is deleted, it is persisted again whenever the metadata objects created by the user is processed (created, modified, or deleted) by the API services. Hence, you must always ensure to delete the user data based on the user’s consent.
Request
URI: http://<server address>[:<port number>][/path]/UserInfo
Example for a base URI in a cloud foundry environment: https://sap-iotaeexplore.iot-sap.cfapps.eu10.hana.ondemand.com/appiot-mds/UserInfo
HTTP Method: DELETE
Permissions: <thing>.d
Request Parameters
None
Request Example
/UserInfo
Response
Response Status and Error Codes
| Code | Description |
|---|---|
| 200 | User data deleted successfully |
| 403 | Forbidden |