duplicateProductionResource
Copies a resource assigned to a project into a new resource and assigns the copy to the same project. The copy does not keep the original's externalId. Requires edit access to the project. Returns the new assignment.
Arguments
Returns
ProjectResourceAssignment!Example
mutation DuplicateProductionResource($name: String, $projectId: ID!, $resourceId: ID!) {
duplicateProductionResource(
name: $name
projectId: $projectId
resourceId: $resourceId
) {
id
projectId
resourceId
}
}