Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add api to delete user data #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add api to delete user data #19

wants to merge 1 commit into from

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