Skip to content

Add api to delete user data#19

Open
parth-07 wants to merge 1 commit intomasterfrom
add-delete-api
Open

Add api to delete user data#19
parth-07 wants to merge 1 commit intomasterfrom
add-delete-api

Conversation

@parth-07
Copy link
Member

@parth-07 parth-07 commented May 6, 2021

This PR adds API to delete user data from the database.
API description:

DELETE /user/gpa-data

Response on successfully deleting user data:

{
  success: true
}

If user data is not found then API will return with 404 HTTP error code with response body:

{
  type: NOT_FOUND,
  message: "Nothing to delete, user data not found"
}

User token should be passed in Authorization header

Closes #8

@parth-07 parth-07 requested a review from manorit2001 May 6, 2021 12:58
@parth-07
Copy link
Member Author

parth-07 commented May 6, 2021

@github deploy

@github-actions github-actions bot temporarily deployed to dev May 6, 2021 12:58 Inactive
Copy link
Member

@manorit2001 manorit2001 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once the android infrastructure is done, then only will I be able to test this and suggest changes based on compatibility with android. Will keep this on hold till then, Sorry for the inconvinience

@parth-07
Copy link
Member Author

parth-07 commented May 6, 2021

Once the android infrastructure is done, then only will I be able to test this and suggest changes based on compatibility with android. Will keep this on hold till then, Sorry for the inconvinience

Oh okay, no issues :)

@manorit2001
Copy link
Member

@github deploy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

api for deleting cloud data

2 participants