{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/licenses/<activation_number>/reset_first_activation","auth":"required","params":[{"name":"<Activation_Number>","type":"string","default":"","desc":"The activaiton number to reset","required":false,"in":"body","ref":"","_id":"560a8c36f6994b0d0023bc3f"}],"examples":{"codes":[{"name":"","code":"curl -H \"Authorization:Token b98f08d1c44cd5259dd70dc295e61187af45bffd23036f909919e608bdd8a592\" -i -X POST \"https://public-api.devmate.com/v2/licenses/id154489775644odr/reset_first_activation\"","language":"curl"}]},"method":"post","results":{"codes":[{"language":"json","code":"HTTP/1.1 200 OK\nServer: nginx\n\n\n","name":"License reset","status":200},{"status":404,"language":"json","code":"HTTP/1.1 404 Not Found\nServer: nginx\n\n{\"errors\":[{\"title\":\"Server error.\",\"detail\":\"Resource with provided key \\\"id15448977564odr\\\" does not exist.\"}]}\n","name":"Wrong customer ID"},{"code":"HTTP/1.1 405 Method Not Allowed\nServer: nginx\n","language":"text","status":405},{"code":"{\n \"errors\": [\n {\n \"title\": \"Unauthorized\"\n }\n ]\n}\n","language":"text","status":401}]},"settings":""},"next":{"description":"","pages":[]},"title":"Reset Activation Number","type":"endpoint","slug":"reset-activaiton-number","excerpt":"","body":"This method is used to reset the oldest activation record for the activation number assigned to the specific customer. There's no need to pass the Customer ID or any details other than his activation number.\n\n````\nhttps://public-api.devmate.com/v2/licenses/id154489775644odr/reset_first_activation\n````\nThis request will reset the oldest activation record for the specified activation number.\n\nOriginal license with all records: \n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/KMHXLJvQdWNaKfbqywWR_Activation_reset1.png\",\n \"Activation_reset1.png\",\n \"418\",\n \"636\",\n \"\",\n \"\"\n ]\n }\n ]\n}\n[/block]\nUpdated number without the oldest record:\n[block:image]\n{\n \"images\": [\n {\n \"image\": [\n \"https://files.readme.io/E2a0fsyKT7O6LfmqQwpg_Activation_reset2.png\",\n \"Activation_reset2.png\",\n \"415\",\n \"585\",\n \"#4f5458\",\n \"\"\n ]\n }\n ]\n}\n[/block]\n#Response Codes\n[block:parameters]\n{\n \"data\": {\n \"0-0\": \"`200`\",\n \"0-1\": \"Reset was successful\",\n \"1-0\": \"`404`\",\n \"1-1\": \"Activation code not found\",\n \"2-0\": \"`405`\",\n \"2-1\": \"Authorization failed\",\n \"3-0\": \"`500`\",\n \"3-1\": \"Server error\"\n },\n \"cols\": 2,\n \"rows\": 4\n}\n[/block]","updates":[],"order":5,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"591f17b521d2ff0f00cf5a79","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Public API","slug":"public-api","order":9,"from_sync":false,"reference":false,"_id":"591f17af21d2ff0f00cf5a48","__v":0,"project":"547cd7662eaee50800ed1089","createdAt":"2015-09-25T10:22:16.805Z","version":"591f17ae21d2ff0f00cf5a3f"},"parentDoc":null,"version":{"version":"1.0.1","version_clean":"1.0.1","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["591f17af21d2ff0f00cf5a40","591f17af21d2ff0f00cf5a41","591f17af21d2ff0f00cf5a42","591f17af21d2ff0f00cf5a43","591f17af21d2ff0f00cf5a44","591f17af21d2ff0f00cf5a45","591f17af21d2ff0f00cf5a46","591f17af21d2ff0f00cf5a47","591f17af21d2ff0f00cf5a48","60805d13afe7e7003acde2f9"],"_id":"591f17ae21d2ff0f00cf5a3f","createdAt":"2017-05-19T16:05:02.775Z","__v":2,"project":"547cd7662eaee50800ed1089","releaseDate":"2017-05-19T16:05:02.775Z"},"createdAt":"2016-05-25T08:59:08.039Z","user":"573dd709b3f88f0e00dcae1f","githubsync":"","__v":0,"project":"547cd7662eaee50800ed1089"}
postReset Activation Number
Definition
{{ api_url }}{{ page_api_url }}
Parameters
Body Params
Activation_Number:
string
The activaiton number to reset