> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Revoke Inventory Items

> _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new Economy features are being developed only for version 2._ Revokes access for up to 25 items across multiple users and characters.

## Error codes

This operation may return the following PlayFab errors:

| Error | Code |
| --- | --- |
| ItemNotFound | 1047 |
| ProductDisabledForTitle | 1609 |




## OpenAPI

````yaml post /Admin/RevokeInventoryItems
openapi: 3.0.0
info:
  version: '260922'
  title: PlayFab Admin API
  description: >-
    APIs for managing title configurations, uploaded Game Server code
    executables, and user data
  termsOfService: https://playfab.com/terms/
  contact:
    url: https://community.playfab.com/index.html
  license:
    name: Apache 2.0
    url: https://github.com/PlayFab/API_Specs/blob/master/LICENSE
servers:
  - url: https://{titleId}.playfabapi.com
    description: PlayFab title endpoint
    variables:
      titleId:
        default: your_title_id
        description: Your PlayFab title ID (hex).
security: []
tags:
  - name: Account Management
    description: Account Management APIs
  - name: Authentication
    description: Authentication APIs
  - name: Characters
    description: Characters APIs
  - name: Content
    description: Content Service APIs
  - name: Custom Server Management
    description: Custom Server Management APIs
  - name: Matchmaking
    description: Matchmaking APIs
  - name: Player Data Management
    description: Player Data Management APIs
  - name: Player Item Management
    description: Player Item Management APIs
  - name: PlayStream
    description: PlayStream Management APIs
  - name: ScheduledTask
    description: Task management APIs
  - name: Segments
    description: Segment management APIs
  - name: Server-Side Cloud Script
    description: Server-Side Cloud Script APIs
  - name: Shared Group Data
    description: Shared Group Data APIs
  - name: Title-Wide Data Management
    description: Title-Wide Data Management APIs
  - name: Xbox Store
    description: Xbox Store APIs
paths:
  /Admin/RevokeInventoryItems:
    post:
      tags:
        - Player Item Management
      summary: Revoke Inventory Items
      description: >
        _NOTE: This is a Legacy Economy API, and is in bugfix-only mode. All new
        Economy features are being developed only for version 2._ Revokes access
        for up to 25 items across multiple users and characters.


        ## Error codes


        This operation may return the following PlayFab errors:


        | Error | Code |

        | --- | --- |

        | ItemNotFound | 1047 |

        | ProductDisabledForTitle | 1609 |
      operationId: RevokeInventoryItems
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RevokeInventoryItemsRequest'
        description: >-
          In cases where the inventory item in question is a "crate", and the
          items it contained have already been dispensed, this will not revoke
          access or otherwise remove the items which were dispensed.
      responses:
        '200':
          $ref: '#/components/responses/RevokeInventoryItemsResult'
        '400':
          $ref: '#/components/responses/ApiErrorWrapper'
      security:
        - SecretKey: []
components:
  schemas:
    RevokeInventoryItemsRequest:
      description: >-
        In cases where the inventory item in question is a "crate", and the
        items it contained have already been dispensed, this will not revoke
        access or otherwise remove the items which were dispensed.
      type: object
      properties:
        Items:
          description: Array of player items to revoke, between 1 and 25 items.
          type: array
          items:
            $ref: '#/components/schemas/RevokeInventoryItem'
          x-isclass: true
      required:
        - Items
      example:
        Items:
          - PlayFabId: '203945882'
            ItemInstanceId: '2048583045'
    RevokeInventoryItem:
      type: object
      properties:
        CharacterId:
          description: Unique PlayFab assigned ID for a specific character owned by a user
          type: string
        ItemInstanceId:
          description: Unique PlayFab assigned instance identifier of the item
          type: string
        PlayFabId:
          description: >-
            Unique PlayFab assigned ID of the user on whom the operation will be
            performed.
          type: string
      required:
        - PlayFabId
        - ItemInstanceId
    RevokeInventoryItemsResult:
      type: object
      properties:
        Errors:
          description: Collection of any errors that occurred during processing.
          type: array
          items:
            $ref: '#/components/schemas/RevokeItemError'
          x-isclass: true
    ApiErrorWrapper:
      description: The basic wrapper around every failed API response
      type: object
      properties:
        code:
          description: Numerical HTTP code
          type: integer
        status:
          description: String HTTP code
          type: string
        error:
          description: Playfab error code
          type: string
        errorCode:
          description: Numerical PlayFab error code
          type: integer
        errorMessage:
          description: Description for the PlayFab errorCode
          type: string
        errorDetails:
          description: Detailed description of individual issues with the request object
          type: object
      required:
        - code
        - errorCode
    RevokeItemError:
      type: object
      properties:
        Error:
          allOf:
            - $ref: '#/components/schemas/GenericErrorCodes'
          description: Specific error that was encountered.
        Item:
          allOf:
            - $ref: '#/components/schemas/RevokeInventoryItem'
          description: Item information that failed to be revoked.
    GenericErrorCodes:
      type: string
      enum:
        - Success
        - UnkownError
        - InvalidParams
        - AccountNotFound
        - AccountBanned
        - InvalidUsernameOrPassword
        - InvalidTitleId
        - InvalidEmailAddress
        - EmailAddressNotAvailable
        - InvalidUsername
        - InvalidPassword
        - UsernameNotAvailable
        - InvalidSteamTicket
        - AccountAlreadyLinked
        - LinkedAccountAlreadyClaimed
        - InvalidFacebookToken
        - AccountNotLinked
        - FailedByPaymentProvider
        - CouponCodeNotFound
        - InvalidContainerItem
        - ContainerNotOwned
        - KeyNotOwned
        - InvalidItemIdInTable
        - InvalidReceipt
        - ReceiptAlreadyUsed
        - ReceiptCancelled
        - GameNotFound
        - GameModeNotFound
        - InvalidGoogleToken
        - UserIsNotPartOfDeveloper
        - InvalidTitleForDeveloper
        - TitleNameConflicts
        - UserisNotValid
        - ValueAlreadyExists
        - BuildNotFound
        - PlayerNotInGame
        - InvalidTicket
        - InvalidDeveloper
        - InvalidOrderInfo
        - RegistrationIncomplete
        - InvalidPlatform
        - UnknownError
        - SteamApplicationNotOwned
        - WrongSteamAccount
        - TitleNotActivated
        - RegistrationSessionNotFound
        - NoSuchMod
        - FileNotFound
        - DuplicateEmail
        - ItemNotFound
        - ItemNotOwned
        - ItemNotRecycleable
        - ItemNotAffordable
        - InvalidVirtualCurrency
        - WrongVirtualCurrency
        - WrongPrice
        - NonPositiveValue
        - InvalidRegion
        - RegionAtCapacity
        - ServerFailedToStart
        - NameNotAvailable
        - InsufficientFunds
        - InvalidDeviceID
        - InvalidPushNotificationToken
        - NoRemainingUses
        - InvalidPaymentProvider
        - PurchaseInitializationFailure
        - DuplicateUsername
        - InvalidBuyerInfo
        - NoGameModeParamsSet
        - BodyTooLarge
        - ReservedWordInBody
        - InvalidTypeInBody
        - InvalidRequest
        - ReservedEventName
        - InvalidUserStatistics
        - NotAuthenticated
        - StreamAlreadyExists
        - ErrorCreatingStream
        - StreamNotFound
        - InvalidAccount
        - PurchaseDoesNotExist
        - InvalidPurchaseTransactionStatus
        - APINotEnabledForGameClientAccess
        - NoPushNotificationARNForTitle
        - BuildAlreadyExists
        - BuildPackageDoesNotExist
        - CustomAnalyticsEventsNotEnabledForTitle
        - InvalidSharedGroupId
        - NotAuthorized
        - MissingTitleGoogleProperties
        - InvalidItemProperties
        - InvalidPSNAuthCode
        - InvalidItemId
        - PushNotEnabledForAccount
        - PushServiceError
        - ReceiptDoesNotContainInAppItems
        - ReceiptContainsMultipleInAppItems
        - InvalidBundleID
        - JavascriptException
        - InvalidSessionTicket
        - UnableToConnectToDatabase
        - InternalServerError
        - InvalidReportDate
        - DatabaseThroughputExceeded
        - InvalidGameTicket
        - ExpiredGameTicket
        - GameTicketDoesNotMatchLobby
        - LinkedDeviceAlreadyClaimed
        - DeviceAlreadyLinked
        - DeviceNotLinked
        - PartialFailure
        - PublisherNotSet
        - ServiceUnavailable
        - VersionNotFound
        - RevisionNotFound
        - InvalidPublisherId
        - DownstreamServiceUnavailable
        - APINotIncludedInTitleUsageTier
        - DAULimitExceeded
        - APIRequestLimitExceeded
        - InvalidAPIEndpoint
        - BuildNotAvailable
        - ConcurrentEditError
        - ContentNotFound
        - CharacterNotFound
        - CloudScriptNotFound
        - ContentQuotaExceeded
        - InvalidCharacterStatistics
        - PhotonNotEnabledForTitle
        - PhotonApplicationNotFound
        - PhotonApplicationNotAssociatedWithTitle
        - InvalidEmailOrPassword
        - FacebookAPIError
        - InvalidContentType
        - KeyLengthExceeded
        - DataLengthExceeded
        - TooManyKeys
        - FreeTierCannotHaveVirtualCurrency
        - MissingAmazonSharedKey
        - AmazonValidationError
        - InvalidPSNIssuerId
        - PSNInaccessible
        - ExpiredAuthToken
        - FailedToGetEntitlements
        - FailedToConsumeEntitlement
        - TradeAcceptingUserNotAllowed
        - TradeInventoryItemIsAssignedToCharacter
        - TradeInventoryItemIsBundle
        - TradeStatusNotValidForCancelling
        - TradeStatusNotValidForAccepting
        - TradeDoesNotExist
        - TradeCancelled
        - TradeAlreadyFilled
        - TradeWaitForStatusTimeout
        - TradeInventoryItemExpired
        - TradeMissingOfferedAndAcceptedItems
        - TradeAcceptedItemIsBundle
        - TradeAcceptedItemIsStackable
        - TradeInventoryItemInvalidStatus
        - TradeAcceptedCatalogItemInvalid
        - TradeAllowedUsersInvalid
        - TradeInventoryItemDoesNotExist
        - TradeInventoryItemIsConsumed
        - TradeInventoryItemIsStackable
        - TradeAcceptedItemsMismatch
        - InvalidKongregateToken
        - FeatureNotConfiguredForTitle
        - NoMatchingCatalogItemForReceipt
        - InvalidCurrencyCode
        - NoRealMoneyPriceForCatalogItem
        - TradeInventoryItemIsNotTradable
        - TradeAcceptedCatalogItemIsNotTradable
        - UsersAlreadyFriends
        - LinkedIdentifierAlreadyClaimed
        - CustomIdNotLinked
        - TotalDataSizeExceeded
        - DeleteKeyConflict
        - InvalidXboxLiveToken
        - ExpiredXboxLiveToken
        - ResettableStatisticVersionRequired
        - NotAuthorizedByTitle
        - NoPartnerEnabled
        - InvalidPartnerResponse
        - APINotEnabledForGameServerAccess
        - StatisticNotFound
        - StatisticNameConflict
        - StatisticVersionClosedForWrites
        - StatisticVersionInvalid
        - APIClientRequestRateLimitExceeded
        - InvalidJSONContent
        - InvalidDropTable
        - StatisticVersionAlreadyIncrementedForScheduledInterval
        - StatisticCountLimitExceeded
        - StatisticVersionIncrementRateExceeded
        - ContainerKeyInvalid
        - CloudScriptExecutionTimeLimitExceeded
        - NoWritePermissionsForEvent
        - CloudScriptFunctionArgumentSizeExceeded
        - CloudScriptAPIRequestCountExceeded
        - CloudScriptAPIRequestError
        - CloudScriptHTTPRequestError
        - InsufficientGuildRole
        - GuildNotFound
        - OverLimit
        - EventNotFound
        - InvalidEventField
        - InvalidEventName
        - CatalogNotConfigured
        - OperationNotSupportedForPlatform
        - SegmentNotFound
        - StoreNotFound
        - InvalidStatisticName
        - TitleNotQualifiedForLimit
        - InvalidServiceLimitLevel
        - ServiceLimitLevelInTransition
        - CouponAlreadyRedeemed
        - GameServerBuildSizeLimitExceeded
        - GameServerBuildCountLimitExceeded
        - VirtualCurrencyCountLimitExceeded
        - VirtualCurrencyCodeExists
        - TitleNewsItemCountLimitExceeded
        - InvalidTwitchToken
        - TwitchResponseError
        - ProfaneDisplayName
        - UserAlreadyAdded
        - InvalidVirtualCurrencyCode
        - VirtualCurrencyCannotBeDeleted
        - IdentifierAlreadyClaimed
        - IdentifierNotLinked
        - InvalidContinuationToken
        - ExpiredContinuationToken
        - InvalidSegment
        - InvalidSessionId
        - SessionLogNotFound
        - InvalidSearchTerm
        - TwoFactorAuthenticationTokenRequired
        - GameServerHostCountLimitExceeded
        - PlayerTagCountLimitExceeded
        - RequestAlreadyRunning
        - ActionGroupNotFound
        - MaximumSegmentBulkActionJobsRunning
        - NoActionsOnPlayersInSegmentJob
        - DuplicateStatisticName
        - ScheduledTaskNameConflict
        - ScheduledTaskCreateConflict
        - InvalidScheduledTaskName
        - InvalidTaskSchedule
        - SteamNotEnabledForTitle
        - LimitNotAnUpgradeOption
        - NoSecretKeyEnabledForCloudScript
        - TaskNotFound
        - TaskInstanceNotFound
        - InvalidIdentityProviderId
        - MisconfiguredIdentityProvider
        - InvalidScheduledTaskType
        - BillingInformationRequired
        - LimitedEditionItemUnavailable
        - InvalidAdPlacementAndReward
        - AllAdPlacementViewsAlreadyConsumed
        - GoogleOAuthNotConfiguredForTitle
        - GoogleOAuthError
        - UserNotFriend
        - InvalidSignature
        - InvalidPublicKey
        - GoogleOAuthNoIdTokenIncludedInResponse
        - StatisticUpdateInProgress
        - LeaderboardVersionNotAvailable
        - StatisticAlreadyHasPrizeTable
        - PrizeTableHasOverlappingRanks
        - PrizeTableHasMissingRanks
        - PrizeTableRankStartsAtZero
        - InvalidStatistic
        - ExpressionParseFailure
        - ExpressionInvokeFailure
        - ExpressionTooLong
        - DataUpdateRateExceeded
        - RestrictedEmailDomain
        - EncryptionKeyDisabled
        - EncryptionKeyMissing
        - EncryptionKeyBroken
        - NoSharedSecretKeyConfigured
        - SecretKeyNotFound
        - PlayerSecretAlreadyConfigured
        - APIRequestsDisabledForTitle
        - InvalidSharedSecretKey
        - PrizeTableHasNoRanks
        - ProfileDoesNotExist
        - ContentS3OriginBucketNotConfigured
        - InvalidEnvironmentForReceipt
        - EncryptedRequestNotAllowed
        - SignedRequestNotAllowed
        - RequestViewConstraintParamsNotAllowed
        - BadPartnerConfiguration
        - XboxBPCertificateFailure
        - XboxXASSExchangeFailure
        - InvalidEntityId
        - StatisticValueAggregationOverflow
        - EmailMessageFromAddressIsMissing
        - EmailMessageToAddressIsMissing
        - SmtpServerAuthenticationError
        - SmtpServerLimitExceeded
        - SmtpServerInsufficientStorage
        - SmtpServerCommunicationError
        - SmtpServerGeneralFailure
        - EmailClientTimeout
        - EmailClientCanceledTask
        - EmailTemplateMissing
        - InvalidHostForTitleId
        - EmailConfirmationTokenDoesNotExist
        - EmailConfirmationTokenExpired
        - AccountDeleted
        - PlayerSecretNotConfigured
        - InvalidSignatureTime
        - NoContactEmailAddressFound
        - InvalidAuthToken
        - AuthTokenDoesNotExist
        - AuthTokenExpired
        - AuthTokenAlreadyUsedToResetPassword
        - MembershipNameTooLong
        - MembershipNotFound
        - GoogleServiceAccountInvalid
        - GoogleServiceAccountParseFailure
        - EntityTokenMissing
        - EntityTokenInvalid
        - EntityTokenExpired
        - EntityTokenRevoked
        - InvalidProductForSubscription
        - XboxInaccessible
        - SubscriptionAlreadyTaken
        - SmtpAddonNotEnabled
        - APIConcurrentRequestLimitExceeded
        - XboxRejectedXSTSExchangeRequest
        - VariableNotDefined
        - TemplateVersionNotDefined
        - FileTooLarge
        - TitleDeleted
        - TitleContainsUserAccounts
        - TitleDeletionPlayerCleanupFailure
        - EntityFileOperationPending
        - NoEntityFileOperationPending
        - EntityProfileVersionMismatch
        - TemplateVersionTooOld
        - MembershipDefinitionInUse
        - PaymentPageNotConfigured
        - FailedLoginAttemptRateLimitExceeded
        - EntityBlockedByGroup
        - RoleDoesNotExist
        - EntityIsAlreadyMember
        - DuplicateRoleId
        - GroupInvitationNotFound
        - GroupApplicationNotFound
        - OutstandingInvitationAcceptedInstead
        - OutstandingApplicationAcceptedInstead
        - RoleIsGroupDefaultMember
        - RoleIsGroupAdmin
        - RoleNameNotAvailable
        - GroupNameNotAvailable
        - EmailReportAlreadySent
        - EmailReportRecipientBlacklisted
        - EventNamespaceNotAllowed
        - EventEntityNotAllowed
        - InvalidEntityType
        - NullTokenResultFromAad
        - InvalidTokenResultFromAad
        - NoValidCertificateForAad
        - InvalidCertificateForAad
        - DuplicateDropTableId
        - MultiplayerServerError
        - MultiplayerServerTooManyRequests
        - MultiplayerServerNoContent
        - MultiplayerServerBadRequest
        - MultiplayerServerUnauthorized
        - MultiplayerServerForbidden
        - MultiplayerServerNotFound
        - MultiplayerServerConflict
        - MultiplayerServerInternalServerError
        - MultiplayerServerUnavailable
        - ExplicitContentDetected
        - PIIContentDetected
        - InvalidScheduledTaskParameter
        - PerEntityEventRateLimitExceeded
        - TitleDefaultLanguageNotSet
        - EmailTemplateMissingDefaultVersion
        - FacebookInstantGamesIdNotLinked
        - InvalidFacebookInstantGamesSignature
        - FacebookInstantGamesAuthNotConfiguredForTitle
        - EntityProfileConstraintValidationFailed
        - TelemetryIngestionKeyPending
        - TelemetryIngestionKeyNotFound
        - StatisticChildNameInvalid
        - DataIntegrityError
        - VirtualCurrencyCannotBeSetToOlderVersion
        - VirtualCurrencyMustBeWithinIntegerRange
        - EmailTemplateInvalidSyntax
        - EmailTemplateMissingCallback
        - PushNotificationTemplateInvalidPayload
        - InvalidLocalizedPushNotificationLanguage
        - MissingLocalizedPushNotificationMessage
        - PushNotificationTemplateMissingPlatformPayload
        - PushNotificationTemplatePayloadContainsInvalidJson
        - PushNotificationTemplateContainsInvalidIosPayload
        - PushNotificationTemplateContainsInvalidAndroidPayload
        - PushNotificationTemplateIosPayloadMissingNotificationBody
        - PushNotificationTemplateAndroidPayloadMissingNotificationBody
        - PushNotificationTemplateNotFound
        - PushNotificationTemplateMissingDefaultVersion
        - PushNotificationTemplateInvalidSyntax
        - PushNotificationTemplateNoCustomPayloadForV1
        - NoLeaderboardForStatistic
        - TitleNewsMissingDefaultLanguage
        - TitleNewsNotFound
        - TitleNewsDuplicateLanguage
        - TitleNewsMissingTitleOrBody
        - TitleNewsInvalidLanguage
        - EmailRecipientBlacklisted
        - InvalidGameCenterAuthRequest
        - GameCenterAuthenticationFailed
        - CannotEnablePartiesForTitle
        - PartyError
        - PartyRequests
        - PartyNoContent
        - PartyBadRequest
        - PartyUnauthorized
        - PartyForbidden
        - PartyNotFound
        - PartyConflict
        - PartyInternalServerError
        - PartyUnavailable
        - PartyTooManyRequests
        - PushNotificationTemplateMissingName
        - CannotEnableMultiplayerServersForTitle
        - WriteAttemptedDuringExport
        - MultiplayerServerTitleQuotaCoresExceeded
        - AutomationRuleNotFound
        - EntityAPIKeyLimitExceeded
        - EntityAPIKeyNotFound
        - EntityAPIKeyOrSecretInvalid
        - EconomyServiceUnavailable
        - EconomyServiceInternalError
        - QueryRateLimitExceeded
        - EntityAPIKeyCreationDisabledForEntity
        - ForbiddenByEntityPolicy
        - UpdateInventoryRateLimitExceeded
        - StudioCreationRateLimited
        - StudioCreationInProgress
        - DuplicateStudioName
        - StudioNotFound
        - StudioDeleted
        - StudioDeactivated
        - StudioActivated
        - TitleCreationRateLimited
        - TitleCreationInProgress
        - DuplicateTitleName
        - TitleActivationRateLimited
        - TitleActivationInProgress
        - TitleDeactivated
        - TitleActivated
        - CloudScriptAzureFunctionsExecutionTimeLimitExceeded
        - CloudScriptAzureFunctionsArgumentSizeExceeded
        - CloudScriptAzureFunctionsReturnSizeExceeded
        - CloudScriptAzureFunctionsHTTPRequestError
        - VirtualCurrencyBetaGetError
        - VirtualCurrencyBetaCreateError
        - VirtualCurrencyBetaInitialDepositSaveError
        - VirtualCurrencyBetaSaveError
        - VirtualCurrencyBetaDeleteError
        - VirtualCurrencyBetaRestoreError
        - VirtualCurrencyBetaSaveConflict
        - VirtualCurrencyBetaUpdateError
        - InsightsManagementDatabaseNotFound
        - InsightsManagementOperationNotFound
        - InsightsManagementErrorPendingOperationExists
        - InsightsManagementSetPerformanceLevelInvalidParameter
        - InsightsManagementSetStorageRetentionInvalidParameter
        - InsightsManagementGetStorageUsageInvalidParameter
        - InsightsManagementGetOperationStatusInvalidParameter
        - DuplicatePurchaseTransactionId
        - EvaluationModePlayerCountExceeded
        - CloudScriptFunctionNameSizeExceeded
        - PaidInsightsFeaturesNotEnabled
        - CloudScriptAzureFunctionsQueueRequestError
        - EvaluationModeTitleCountExceeded
        - InsightsManagementTitleNotInFlight
        - LimitNotFound
        - LimitNotAvailableViaAPI
        - InsightsManagementSetStorageRetentionBelowMinimum
        - InsightsManagementSetStorageRetentionAboveMaximum
        - AppleNotEnabledForTitle
        - InsightsManagementNewActiveEventExportLimitInvalid
        - InsightsManagementSetPerformanceRateLimited
        - PartyRequestsThrottledFromRateLimiter
        - XboxServiceTooManyRequests
        - NintendoSwitchNotEnabledForTitle
        - RequestMultiplayerServersThrottledFromRateLimiter
        - TitleDataOverrideNotFound
        - DuplicateKeys
        - WasNotCreatedWithCloudRoot
        - LegacyMultiplayerServersDeprecated
        - VirtualCurrencyCurrentlyUnavailable
        - SteamUserNotFound
        - ElasticSearchOperationFailed
        - NotImplemented
        - PublisherNotFound
        - PublisherDeleted
        - ApiDisabledForMigration
        - ResourceNameUpdateNotAllowed
        - ApiNotEnabledForTitle
        - DuplicateTitleNameForPublisher
        - AzureTitleCreationInProgress
        - TitleConstraintsPublisherDeletion
        - InvalidPlayerAccountPoolId
        - PlayerAccountPoolNotFound
        - PlayerAccountPoolDeleted
        - TitleCleanupInProgress
        - AzureResourceConcurrentOperationInProgress
        - TitlePublisherUpdateNotAllowed
        - AzureResourceManagerNotSupportedInStamp
        - ApiNotIncludedInAzurePlayFabFeatureSet
        - GoogleServiceAccountFailedAuth
        - GoogleAPIServiceUnavailable
        - GoogleAPIServiceUnknownError
        - NoValidIdentityForAad
        - PlayerIdentityLinkNotFound
        - PhotonApplicationIdAlreadyInUse
        - CloudScriptUnableToDeleteProductionRevision
        - CustomIdNotFound
        - AutomationInvalidInput
        - AutomationInvalidRuleName
        - AutomationRuleAlreadyExists
        - AutomationRuleLimitExceeded
        - InvalidGooglePlayGamesServerAuthCode
        - PlayStreamConnectionFailed
        - InvalidEventContents
        - InsightsV1Deprecated
        - AnalysisSubscriptionNotFound
        - AnalysisSubscriptionFailed
        - AnalysisSubscriptionFoundAlready
        - AnalysisSubscriptionManagementInvalidInput
        - InvalidGameCenterId
        - InvalidNintendoSwitchAccountId
        - EntityAPIKeysNotSupported
        - IpAddressBanned
        - EntityLineageBanned
        - NamespaceMismatch
        - InvalidServiceConfiguration
        - InvalidNamespaceMismatch
        - LeaderboardColumnLengthMismatch
        - InvalidStatisticScore
        - LeaderboardColumnsNotSpecified
        - LeaderboardMaxSizeTooLarge
        - InvalidAttributeStatisticsSpecified
        - LeaderboardNotFound
        - TokenSigningKeyNotFound
        - LeaderboardNameConflict
        - LinkedStatisticColumnMismatch
        - NoLinkedStatisticToLeaderboard
        - StatDefinitionAlreadyLinkedToLeaderboard
        - LinkingStatsNotAllowedForEntityType
        - LeaderboardCountLimitExceeded
        - LeaderboardSizeLimitExceeded
        - LeaderboardDefinitionModificationNotAllowedWhileLinked
        - StatisticDefinitionModificationNotAllowedWhileLinked
        - LeaderboardUpdateNotAllowedWhileLinked
        - CloudScriptAzureFunctionsEventHubRequestError
        - ExternalEntityNotAllowedForTier
        - InvalidBaseTimeForInterval
        - EntityTypeMismatchWithStatDefinition
        - SpecifiedVersionLeaderboardNotFound
        - LeaderboardColumnLengthMismatchWithStatDefinition
        - DuplicateColumnNameFound
        - LinkedStatisticColumnNotFound
        - LinkedStatisticColumnRequired
        - MultipleLinkedStatisticsNotAllowed
        - DuplicateLinkedStatisticColumnNameFound
        - AggregationTypeNotAllowedForMultiColumnStatistic
        - MaxQueryableVersionsValueNotAllowedForTier
        - StatisticDefinitionHasNullOrEmptyVersionConfiguration
        - StatisticColumnLengthMismatch
        - InvalidExternalEntityId
        - UpdatingStatisticsUsingTransactionIdNotAvailableForFreeTier
        - TransactionAlreadyApplied
        - ReportDataNotRetrievedSuccessfully
        - ResetIntervalCannotBeModified
        - VersionIncrementRateExceeded
        - InvalidSteamUsername
        - InvalidVersionResetForLinkedLeaderboard
        - BattleNetNotEnabledForTitle
        - ReportNotProcessed
        - DataNotAvailable
        - InvalidReportName
        - ResourceNotModified
        - StudioCreationLimitExceeded
        - StudioDeletionInitiated
        - ProductDisabledForTitle
        - PreconditionFailed
        - CannotEnableAnonymousPlayerCreation
        - ParentCustomerAccountNotFound
        - AccountLinkedToABannedPlayer
        - AzureSubscriptionNotEligibleForLinking
        - EntityIsNotAMember
        - IPAddressNotFound
        - PSNNextGenNotConfiguredForTitle
        - InvalidNintendoIssuer
        - MatchmakingEntityInvalid
        - MatchmakingPlayerAttributesInvalid
        - MatchmakingQueueNotFound
        - MatchmakingMatchNotFound
        - MatchmakingTicketNotFound
        - MatchmakingAlreadyJoinedTicket
        - MatchmakingTicketAlreadyCompleted
        - MatchmakingQueueConfigInvalid
        - MatchmakingMemberProfileInvalid
        - NintendoSwitchDeviceIdNotLinked
        - MatchmakingNotEnabled
        - MatchmakingPlayerAttributesTooLarge
        - MatchmakingNumberOfPlayersInTicketTooLarge
        - MatchmakingAttributeInvalid
        - MatchmakingPlayerHasNotJoinedTicket
        - MatchmakingRateLimitExceeded
        - MatchmakingTicketMembershipLimitExceeded
        - MatchmakingUnauthorized
        - MatchmakingQueueLimitExceeded
        - MatchmakingRequestTypeMismatch
        - MatchmakingBadRequest
        - PubSubFeatureNotEnabledForTitle
        - PubSubTooManyRequests
        - PubSubConnectionNotFoundForEntity
        - PubSubConnectionHandleInvalid
        - PubSubSubscriptionLimitExceeded
        - TitleConfigNotFound
        - TitleConfigUpdateConflict
        - TitleConfigSerializationError
        - CatalogApiNotImplemented
        - CatalogEntityInvalid
        - CatalogTitleIdMissing
        - CatalogPlayerIdMissing
        - CatalogClientIdentityInvalid
        - CatalogOneOrMoreFilesInvalid
        - CatalogItemMetadataInvalid
        - CatalogItemIdInvalid
        - CatalogSearchParameterInvalid
        - CatalogFeatureDisabled
        - CatalogConfigInvalid
        - CatalogItemTypeInvalid
        - CatalogBadRequest
        - CatalogTooManyRequests
        - InvalidCatalogItemConfiguration
        - LegacyEconomyDisabled
        - ExportInvalidStatusUpdate
        - ExportInvalidPrefix
        - ExportBlobContainerDoesNotExist
        - ExportNotFound
        - ExportCouldNotUpdate
        - ExportInvalidStorageType
        - ExportAmazonBucketDoesNotExist
        - ExportInvalidBlobStorage
        - ExportKustoException
        - ExportKustoConnectionFailed
        - ExportUnknownError
        - ExportCantEditPendingExport
        - ExportLimitExports
        - ExportLimitEvents
        - ExportInvalidPartitionStatusModification
        - ExportCouldNotCreate
        - ExportNoBackingDatabaseFound
        - ExportCouldNotDelete
        - ExportCannotDetermineEventQuery
        - ExportInvalidQuerySchemaModification
        - ExportQuerySchemaMissingRequiredColumns
        - ExportCannotParseQuery
        - ExportControlCommandsNotAllowed
        - ExportQueryMissingTableReference
        - ExportInsightsV1Deprecated
        - ExplorerBasicInvalidQueryName
        - ExplorerBasicInvalidQueryDescription
        - ExplorerBasicInvalidQueryConditions
        - ExplorerBasicInvalidQueryStartDate
        - ExplorerBasicInvalidQueryEndDate
        - ExplorerBasicInvalidQueryGroupBy
        - ExplorerBasicInvalidQueryAggregateType
        - ExplorerBasicInvalidQueryAggregateProperty
        - ExplorerBasicLoadQueriesError
        - ExplorerBasicLoadQueryError
        - ExplorerBasicCreateQueryError
        - ExplorerBasicDeleteQueryError
        - ExplorerBasicUpdateQueryError
        - ExplorerBasicSavedQueriesLimit
        - ExplorerBasicSavedQueryNotFound
        - TenantShardMapperShardNotFound
        - TitleNotEnabledForParty
        - PartyVersionNotFound
        - MultiplayerServerBuildReferencedByMatchmakingQueue
        - MultiplayerServerBuildReferencedByBuildAlias
        - MultiplayerServerBuildAliasReferencedByMatchmakingQueue
        - PartySerializationError
        - ExperimentationExperimentStopped
        - ExperimentationExperimentRunning
        - ExperimentationExperimentNotFound
        - ExperimentationExperimentNeverStarted
        - ExperimentationExperimentDeleted
        - ExperimentationClientTimeout
        - ExperimentationInvalidVariantConfiguration
        - ExperimentationInvalidVariableConfiguration
        - ExperimentInvalidId
        - ExperimentationNoScorecard
        - ExperimentationTreatmentAssignmentFailed
        - ExperimentationTreatmentAssignmentDisabled
        - ExperimentationInvalidDuration
        - ExperimentationMaxExperimentsReached
        - ExperimentationExperimentSchedulingInProgress
        - ExperimentationInvalidEndDate
        - ExperimentationInvalidStartDate
        - ExperimentationMaxDurationExceeded
        - ExperimentationExclusionGroupNotFound
        - ExperimentationExclusionGroupInsufficientCapacity
        - ExperimentationExclusionGroupCannotDelete
        - ExperimentationExclusionGroupInvalidTrafficAllocation
        - ExperimentationExclusionGroupInvalidName
        - ExperimentationLegacyExperimentInvalidOperation
        - ExperimentationExperimentStopFailed
        - ExperimentationExperimentDeleteFailed
        - ExperimentationExperimentStartFailed
        - MaxActionDepthExceeded
        - TitleNotOnUpdatedPricingPlan
        - SegmentManagementTitleNotInFlight
        - SegmentManagementNoExpressionTree
        - SegmentManagementTriggerActionCountOverLimit
        - SegmentManagementSegmentCountOverLimit
        - SegmentManagementInvalidSegmentId
        - SegmentManagementInvalidInput
        - SegmentManagementInvalidSegmentName
        - DeleteSegmentRateLimitExceeded
        - CreateSegmentRateLimitExceeded
        - UpdateSegmentRateLimitExceeded
        - GetSegmentsRateLimitExceeded
        - AsyncExportNotInFlight
        - AsyncExportNotFound
        - AsyncExportRateLimitExceeded
        - AnalyticsSegmentCountOverLimit
        - GetSegmentPlayerCountNotInFlight
        - GetSegmentPlayerCountRateLimitExceeded
        - SnapshotNotFound
        - InventoryApiNotImplemented
        - InventoryCollectionDeletionDisallowed
        - LobbyDoesNotExist
        - LobbyRateLimitExceeded
        - LobbyPlayerAlreadyJoined
        - LobbyNotJoinable
        - LobbyMemberCannotRejoin
        - LobbyCurrentPlayersMoreThanMaxPlayers
        - LobbyPlayerNotPresent
        - LobbyBadRequest
        - LobbyPlayerMaxLobbyLimitExceeded
        - LobbyNewOwnerMustBeConnected
        - LobbyCurrentOwnerStillConnected
        - LobbyMemberIsNotOwner
        - LobbyServerMismatch
        - LobbyServerNotFound
        - LobbyDifferentServerAlreadyJoined
        - LobbyServerAlreadyJoined
        - LobbyIsNotClientOwned
        - LobbyDoesNotUseConnections
        - EventSamplingInvalidRatio
        - EventSamplingInvalidEventNamespace
        - EventSamplingInvalidEventName
        - EventSamplingRatioNotFound
        - TelemetryKeyNotFound
        - TelemetryKeyInvalidName
        - TelemetryKeyAlreadyExists
        - TelemetryKeyInvalid
        - TelemetryKeyCountOverLimit
        - TelemetryKeyDeactivated
        - TelemetryKeyLongInsightsRetentionNotAllowed
        - EventSinkConnectionInvalid
        - EventSinkConnectionUnauthorized
        - EventSinkRegionInvalid
        - EventSinkLimitExceeded
        - EventSinkSasTokenInvalid
        - EventSinkNotFound
        - EventSinkNameInvalid
        - EventSinkSasTokenPermissionInvalid
        - EventSinkSecretInvalid
        - EventSinkTenantNotFound
        - EventSinkAadNotFound
        - EventSinkDatabaseNotFound
        - EventSinkTitleUnauthorized
        - EventSinkInsufficientRoleAssignment
        - EventSinkContainerNotFound
        - EventSinkTenantIdInvalid
        - EventSinkResourceMisconfigured
        - EventSinkAccessDenied
        - EventSinkWriteConflict
        - EventSinkResourceNotFound
        - EventSinkResourceFeatureNotSupported
        - EventSinkBucketNameInvalid
        - EventSinkResourceUnavailable
        - OperationCanceled
        - InvalidDisplayNameRandomSuffixLength
        - AllowNonUniquePlayerDisplayNamesDisableNotAllowed
        - PartitionedEventInvalid
        - PartitionedEventCountOverLimit
        - ManageEventNamespaceInvalid
        - ManageEventNameInvalid
        - ManagedEventNotFound
        - ManageEventsInvalidRatio
        - ManagedEventInvalid
        - PlayerCustomPropertiesPropertyNameTooLong
        - PlayerCustomPropertiesPropertyNameIsInvalid
        - PlayerCustomPropertiesStringPropertyValueTooLong
        - PlayerCustomPropertiesValueIsInvalidType
        - PlayerCustomPropertiesVersionMismatch
        - PlayerCustomPropertiesPropertyCountTooHigh
        - PlayerCustomPropertiesDuplicatePropertyName
        - PlayerCustomPropertiesPropertyDoesNotExist
        - AddonAlreadyExists
        - AddonDoesntExist
        - TrueSkillUnauthorized
        - TrueSkillInvalidTitleId
        - TrueSkillInvalidScenarioId
        - TrueSkillInvalidModelId
        - TrueSkillInvalidModelName
        - TrueSkillInvalidPlayerIds
        - TrueSkillInvalidEntityKey
        - TrueSkillInvalidConditionKey
        - TrueSkillInvalidConditionValue
        - TrueSkillInvalidConditionAffinityWeight
        - TrueSkillInvalidEventName
        - TrueSkillMatchResultCreated
        - TrueSkillMatchResultAlreadySubmitted
        - TrueSkillBadPlayerIdInMatchResult
        - TrueSkillInvalidBotIdInMatchResult
        - TrueSkillDuplicatePlayerInMatchResult
        - TrueSkillNoPlayerInMatchResultTeam
        - TrueSkillPlayersInMatchResultExceedingLimit
        - TrueSkillInvalidPreMatchPartyInMatchResult
        - TrueSkillInvalidTimestampInMatchResult
        - TrueSkillStartTimeMissingInMatchResult
        - TrueSkillEndTimeMissingInMatchResult
        - TrueSkillInvalidPlayerSecondsPlayedInMatchResult
        - TrueSkillNoTeamInMatchResult
        - TrueSkillNotEnoughTeamsInMatchResult
        - TrueSkillInvalidRanksInMatchResult
        - TrueSkillNoWinnerInMatchResult
        - TrueSkillMissingRequiredCondition
        - TrueSkillMissingRequiredEvent
        - TrueSkillUnknownEventName
        - TrueSkillInvalidEventCount
        - TrueSkillUnknownConditionKey
        - TrueSkillUnknownConditionValue
        - TrueSkillScenarioConfigDoesNotExist
        - TrueSkillUnknownModelId
        - TrueSkillNoModelInScenario
        - TrueSkillNotSupportedForTitle
        - TrueSkillModelIsNotActive
        - TrueSkillUnauthorizedToQueryOtherPlayerSkills
        - TrueSkillInvalidMaxIterations
        - TrueSkillEndTimeBeforeStartTime
        - TrueSkillInvalidJobId
        - TrueSkillInvalidMetadataId
        - TrueSkillMissingBuildVerison
        - TrueSkillJobAlreadyExists
        - TrueSkillJobNotFound
        - TrueSkillOperationCanceled
        - TrueSkillActiveModelLimitExceeded
        - TrueSkillTotalModelLimitExceeded
        - TrueSkillUnknownInitialModelId
        - TrueSkillUnauthorizedForJob
        - TrueSkillInvalidScenarioName
        - TrueSkillConditionStateIsRequired
        - TrueSkillEventStateIsRequired
        - TrueSkillDuplicateEvent
        - TrueSkillDuplicateCondition
        - TrueSkillInvalidAnomalyThreshold
        - TrueSkillConditionKeyLimitExceeded
        - TrueSkillConditionValuePerKeyLimitExceeded
        - TrueSkillInvalidTimestamp
        - TrueSkillEventLimitExceeded
        - TrueSkillInvalidPlayers
        - TrueSkillTrueSkillPlayerNull
        - TrueSkillInvalidPlayerId
        - TrueSkillInvalidSquadSize
        - TrueSkillConditionSetNotInModel
        - TrueSkillModelStateInvalidForOperation
        - TrueSkillScenarioContainsActiveModel
        - TrueSkillInvalidConditionRank
        - TrueSkillTotalScenarioLimitExceeded
        - TrueSkillInvalidConditionsList
        - GameSaveManifestNotFound
        - GameSaveManifestVersionAlreadyExists
        - GameSaveConflictUpdatingManifest
        - GameSaveManifestUpdatesNotAllowed
        - GameSaveFileAlreadyExists
        - GameSaveManifestVersionNotFinalized
        - GameSaveUnknownFileInManifest
        - GameSaveFileExceededReportedSize
        - GameSaveFileNotUploaded
        - GameSaveBadRequest
        - GameSaveOperationNotAllowed
        - GameSaveDataStorageQuotaExceeded
        - GameSaveNewerManifestExists
        - GameSaveBaseVersionNotAvailable
        - GameSaveManifestVersionQuarantined
        - GameSaveManifestUploadProgressUpdateNotAllowed
        - GameSaveNotFinalizedManifestNotEligibleAsKnownGood
        - GameSaveNoUpdatesRequested
        - GameSaveTitleDoesNotExist
        - GameSaveOperationNotAllowedForTitle
        - GameSaveManifestFilesLimitExceeded
        - GameSaveManifestDescriptionUpdateNotAllowed
        - GameSaveTitleConfigNotFound
        - GameSaveTitleAlreadyOnboarded
        - GameSaveServiceNotEnabledForTitle
        - GameSaveServiceOnboardingPending
        - GameSaveManifestNotEligibleAsConflictingVersion
        - GameSaveServiceUnavailable
        - GameSaveConflict
        - GameSaveManifestNotEligibleForRollback
        - GameSaveTitleClientAnonymousAccountCreationNotDisabled
        - GameSaveTitleConfigNoUpdatesRequested
        - GameSavePlayerNotEligibleForTransfer
        - GameSaveAlreadyAutoRolledBack
        - GameSaveManifestNotEligibleForRestore
        - GameSaveManifestArchived
        - StateShareForbidden
        - StateShareTitleNotInFlight
        - StateShareStateNotFound
        - StateShareLinkNotFound
        - StateShareStateRedemptionLimitExceeded
        - StateShareStateRedemptionLimitNotUpdated
        - StateShareCreatedStatesLimitExceeded
        - StateShareIdMissingOrMalformed
        - PlayerCreationDisabled
        - AccountAlreadyExists
        - TagInvalid
        - TagTooLong
        - StatisticColumnAggregationMismatch
        - StatisticResetIntervalMismatch
        - VersionConfigurationCannotBeSpecifiedForLinkedStat
        - VersionConfigurationIsRequired
        - InvalidEntityTypeForAggregation
        - MultiLevelAggregationNotAllowed
        - AggregationTypeNotAllowedForLinkedStat
        - OperationDeniedDueToDefinitionPolicy
        - StatisticUpdateNotAllowedWhileLinked
        - UnsupportedEntityType
        - EntityTypeSpecifiedRequiresAggregationSource
        - PlayFabErrorEventNotSupportedForEntityType
        - MetadataLengthExceeded
        - MaxQueryableVersionsExceeded
        - StatisticVersionIncrementNotAllowedWhileLinked
        - StoreMetricsRequestInvalidInput
        - StoreMetricsErrorRetrievingMetrics
  responses:
    RevokeInventoryItemsResult:
      description: ''
      content:
        application/json:
          schema:
            type: object
            properties:
              code:
                type: integer
                description: >-
                  The Http status code. If X-ReportErrorAsSuccess header is set
                  to true, this will report the actual http error code.
              status:
                type: string
                description: The Http status code as a string.
              data:
                $ref: '#/components/schemas/RevokeInventoryItemsResult'
    ApiErrorWrapper:
      description: This is the outer wrapper for all responses with errors
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiErrorWrapper'
  securitySchemes:
    SecretKey:
      type: apiKey
      in: header
      name: X-SecretKey
      description: >-
        This API requires a title secret key, available to title admins, from
        PlayFab Game Manager.

````

## Related topics

- [Revoke Inventory Item](/api-reference/player-item-management/revoke-inventory-item.md)
- [Revoke Inventory Items](/api-reference/player-item-management/revoke-inventory-items.md)
- [Using Player inventory](/services/playfab/player-progression/player-data/player-inventory.md)
- [PlayFab Release Notes 2018](/services/playfab/release-notes/2018.md)
- [PlayFab Release Notes 2015](/services/playfab/release-notes/2015.md)
