Reference / Os Access

Deny a device login identified by its user code.

POST /v1/os/login/deny
Secret API key operationId: deny

Authorization

Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.

Request body · required

  • user_code string 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 request
POST https://api.identrahq.com/v1/os/login/deny

Request body

application/json