Zum Hauptinhalt springen
Mutation

deleteProductionResource

Deletes a production resource. It can be restored with restoreProductionResource. Requires edit access to the space.

Argumente

  • idID!

    ID of the resource to delete.

  • spaceIdID!

    ID of the space whose inventory holds the resource.

Rückgabe

MutationSuccess!

Beispiel

mutation DeleteProductionResource($id: ID!, $spaceId: ID!) {
  deleteProductionResource(id: $id, spaceId: $spaceId) {
    success
  }
}