SAP Cloud Platform Open Connectors

DELETE /accounts/{id}/users/{userId}

DELETE /accounts/{id}/users/{userId}

Delete a user in a specific account. You cannot recover deleted users. If you think that you might need to access the user later, consider deactivating the user instead.

Path Parameters

idThe unique identifier for an account within an organization.
userIdThe id associated with a specific user.

Example Request

curl -X DELETE \
  https://api.openconnectors.us2.ext.hana.ondemand.com/elements/api-v2/accounts/161268/users/178592 \
  -H 'authorization: User sAfK7LJGNz5ZHcNrvdJvLI=f03WbTbH6aRKc0HJ3oOIi, Organization 58168435e3b9959a929eb04b6218b9a2' \
  -H 'content-type: application/json' \

Example Response

A response with a 200 Status Code indicates success. You can confirm that you deleted the user with GET /accounts/{id}/users