Deny a device login identified by its user code.
POST
Secret API key operationId: deny/v1/os/login/deny Authorization
Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.
Request body · required
user_codestring required
Responses
200 Denied
{
"data": {},
"error": {
"code": "string",
"message": "string"
},
"meta": {
"timestamp": "string"
},
"success": false
} 404 No pending login for that code
Request
curl -X POST "https://api.identrahq.com/v1/os/login/deny" \
-H "Content-Type: application/json" \
-d '{
"user_code": "abcd-efgh"
}'Try it
live requestPOST
https://api.identrahq.com/v1/os/login/deny