When you have dependent assets, unpublishing them simultaneously might result in issues. You must first unpublish the dependent assets, and then send the bulk unpublish request.
For example, you have an app connection that uses a service connector, and both the assets are published. When you send a bulk unpublish request for the service connector, in the status response, the overall jobState is set to ERROR, and the itemState and itemStatusDetail provide the error details. To resolve this issue, you must first unpublish the dependent assets and send the bulk unpublish request again.
Note: If the itemState for an asset is NOT_FOUND, the jobState is set to WARNING. If the itemState for an asset is ERROR, the jobState is set to ERROR. If the itemState in the response contains both the ERROR and NOT_FOUND values, the jobState is set to ERROR.
Alternatively, when you send a bulk unpublish request using a request payload, the assets are unpublished in the same order as given in the request payload. You must specify the assets in the order of their dependency to unpublish them simultaneously in the same request.
For example, consider that you have a service connector that is used in an app connection and process, and all the assets are published. You must specify the assets in the following order in the request payload to unpublish them simultaneously: