Deleteoperator and Notification/delete: Difference between pages
(Difference between pages)
api>Admin (Created page with "This operation deletes the authorized operator. All the operator's certificates will be owned by the main user = URL = <nowiki>https://www.safestamper.com/api/deleteoperator<...") |
api>Admin |
||
Line 1: | Line 1: | ||
This operation deletes | This operation deletes a notification from Safe Stamper | ||
= URL = | = URL = | ||
<nowiki>https://www.safestamper.com/api/ | <nowiki>https://www.safestamper.com/api/notification/delete</nowiki> | ||
= Parameters = | = Parameters = | ||
* '''sharedkey''': Your API client shared key | * '''sharedkey''': Your API client shared key | ||
* '''authkey''': Authkey of | * '''authkey''': Authkey of notification owner | ||
* '''code''': Code of notification to delete | |||
* '''signature''': Parameters signature, as explained in [[Signature parameter]] | * '''signature''': Parameters signature, as explained in [[Signature parameter]] | ||
Line 15: | Line 16: | ||
= HTTP Errors = | = HTTP Errors = | ||
* '''401''' Unauthorized: the authkey is not exist | |||
* '''401''' Unauthorized: the authkey is not | * '''403''' Forbidden: the sharedkey or signature are not valid | ||
* '''403''' Forbidden: the sharedkey | * '''404''' Not found: the notification does not exist | ||
= Example = | = Example = | ||
Line 23: | Line 24: | ||
REQUEST: | REQUEST: | ||
<pre> | <pre> | ||
https://www.safestamper.com/api/ | https://www.safestamper.com/api/notification/delete | ||
?authkey= | ?authkey=0021d81c-e4a5-4869-8384-2fd70cdb58ec | ||
&code=170316-6K5D2Q | |||
&sharedkey=axvmfqn8aex21mxhq5zsj7l482saxfu7j4hh | &sharedkey=axvmfqn8aex21mxhq5zsj7l482saxfu7j4hh | ||
&signature= | &signature=b1b22b34967fdf2eb67c3569a1e8b90f9fb63e77 | ||
</pre> | </pre> | ||
Revision as of 14:55, 22 March 2017
This operation deletes a notification from Safe Stamper
URL
https://www.safestamper.com/api/notification/delete
Parameters
- sharedkey: Your API client shared key
- authkey: Authkey of notification owner
- code: Code of notification to delete
- signature: Parameters signature, as explained in Signature parameter
Returns
HTTP 200 OK
HTTP Errors
- 401 Unauthorized: the authkey is not exist
- 403 Forbidden: the sharedkey or signature are not valid
- 404 Not found: the notification does not exist
Example
REQUEST:
https://www.safestamper.com/api/notification/delete ?authkey=0021d81c-e4a5-4869-8384-2fd70cdb58ec &code=170316-6K5D2Q &sharedkey=axvmfqn8aex21mxhq5zsj7l482saxfu7j4hh &signature=b1b22b34967fdf2eb67c3569a1e8b90f9fb63e77
RESPONSE:
HTTP 200 OK