Skip to main content

Update Status

Modify the Status of Authenticated Data

API Endpoint

PUT
https://api.ovcode.com/authentication-status/update/status

Request Headers

Ocp-Apim-Subscription-Key
Your Enterprise Subscription Key
Api-Key
Your 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

CodeDescription
200OK
201Created
204No Content
400Bad Request
401Unauthorized
404Not Found
415Unsupported Media Type
500Internal Server Error