Update Status
Modify the Status of Authenticated Data
API Endpoint
PUT
https://api.ovcode.com/authentication-status/update/status
Request Headers
Ocp-Apim-Subscription-KeyYour Enterprise Subscription KeyApi-KeyYour Enterprise Project API Key
Request Body application/json
Example
{
"reference":"<Reference>",
"status": "REVOKED" //"REVOKED, ACTIVE or SUSPENDED"
}
API Response
Success{
"success": true,
"data": {
"reference": "<Reference>",
"msg": "Authentication status successfully updated",
"status": "REVOKED"
},
"error": null
}
Error
{
"success": false,
"data": null,
"error": "<Error Message>"
}
HTTP Status Codes
Code | Description |
---|---|
200 | OK |
201 | Created |
204 | No Content |
400 | Bad Request |
401 | Unauthorized |
404 | Not Found |
415 | Unsupported Media Type |
500 | Internal Server Error |