API ReferenceAdmin Mobile App
Revoke Windows Machine
POST
/v1/admin/mobile-app/windows-machines/{machine_id}/revokeIdempotent: revoking a revoked machine returns it unchanged. Under
enforce, revoking a PC that device keys pass through needs
confirm_enforce (409 otherwise, carrying stranded_keys — those keys,
each refused at its next sign-in — beside the tenant-wide readiness
after the revoke, which is a different population).
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
machine_id*Machine Id
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Optional body of the revoke: confirm_enforce acknowledges that,
under enforce, the device keys this PC vouched for are refused at their
next sign-in (409 mobile_app_enforce_confirmation_required otherwise).
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/admin/mobile-app/windows-machines/497f6eca-6276-4993-bfeb-53cbbbba6f08/revoke" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "label": "string", "key_id": "string", "created_at": "2019-08-24T14:15:22Z", "revoked_at": "2019-08-24T14:15:22Z"}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}