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 endpoint for adding/removing user and admin #8

Closed
drGrove opened this Issue Mar 12, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@drGrove
Copy link
Owner

drGrove commented Mar 12, 2019

A user and admin should be able to be added/removed via the API.

add user

POST /

{
  "type": "USER",
  "fingerprint": "",
  "signature": "",
}
  • Signature should be a detached signature of the fingerprint

add admin

POST /

{
  "type": "ADMIN",
  "fingerprint": "",
  "signature": "",
}
  • Signature should be a detached signature of the fingerprint

remove user

DELETE /

{
  "type": "USER",
  "fingerprint": "",
  "signature": "",
}
  • Signature should be a detached signature of the fingerprint

admin

DELETE /

{
  "type": "ADMIN",
  "fingerprint": "",
  "signature": "",
}
  • Signature should be a detached signature of the fingerprint

@drGrove drGrove added this to the v1.0 milestone Mar 12, 2019

@drGrove drGrove self-assigned this Mar 12, 2019

@drGrove

This comment has been minimized.

Copy link
Owner Author

drGrove commented Mar 19, 2019

Resolved in d6b6c53

@drGrove drGrove closed this Mar 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.