# Revoke entitlement (admin) Revokes entitlement of user. AttentionGame codes or games for DRM free platform can be revoked only. Endpoint: POST /v2/project/{project_id}/admin/entitlement/revoke Version: 2.0.0 Security: basicAuth ## Path parameters: - `project_id` (integer, required) Project ID. You can find this parameter in your Publisher Account next to the name of the project. Example: 44056 ## Request fields (application/json): - `user_external_id` (string, required) Unique user identifier. Example: "user-external-id" - `game` (object, required) Object with game properties. Example: {"sku":"com.xsolla.game_1"} - `game.sku` (string, required) Unique key package ID. Example: "theGreatestGameSku" - `drm` (object, required) Object with DRM properties. Example: {"sku":"com.xsolla.key_1"} - `drm.sku` (string, required) Unique DRM ID. Enum: "steam", "playstation", "xbox", "uplay", "origin", "drmfree", "gog", "epicgames", "nintendo_eshop", "discord_game_store", "oculus", "rockstar", "viveport", "stadia" - `mode` (string, required) What type of entitlements should be revoked. If the parameter is set to sandbox, the entitlement will be revoked from the user in the sandbox mode. If the parameter is set to default, the entitlement will be revoked from the user in the live mode. Enum: "default", "sandbox" ## Response 403 fields (application/json): - `statusCode` (integer) Example: 403 - `errorCode` (integer) - `errorMessage` (string) Example: "Authorization header not sent." - `transactionId` (string) Example: "x-x-x-x-transactionId-mock-x-x-x" ## Response 422 fields (application/json): - `statusCode` (integer) Example: 422 - `errorCode` (integer) Example: 5103 - `errorMessage` (string) Example: "[0401-5103]: Selected drm is not drmfree." - `transactionId` (string) Example: "x-x-x-x-transactionId-mock-x-x-x" ## Response 204 fields