notes/cisco_ft_securex_registration.org

This commit is contained in:
Yann Esposito (Yogsototh) 2022-01-17 15:45:06 +01:00
parent 5dbf159e36
commit 2389d76eef
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -435,12 +435,23 @@ Should returns a 404 if not found or the single Org Access Request object.
~PATCH /iroh/user-mgmt/org-requests/<id>~ Grant/Reject the access
The body should be a JSON Object have an optional the role (either =admin= or =user=)
The body should be a JSON Object with:
- an optional field =role= whose value could be either =admin= or =user=
- a mandatory =status= field whose value could be either =accepted= or =rejected=.
A few examples of valid values:
#+begin_src js
{"role":"admin"
"status":}
"status":"accepted"}
#+end_src
#+begin_src js
{"status":"accepted"}
#+end_src
#+begin_src js
{"status":"rejected"}
#+end_src
During the call, should: