Vai al contenuto principale
Mutation

removeProjectResource

Removes a resource from a project. The resource stays in the space's inventory. Requires edit access to the project.

Argomenti

  • projectIdID!

    ID of the project.

  • resourceIdID!

    ID of the resource to remove from the project.

Restituisce

MutationSuccess!

Esempio

mutation RemoveProjectResource($projectId: ID!, $resourceId: ID!) {
  removeProjectResource(projectId: $projectId, resourceId: $resourceId) {
    success
  }
}